Re: nested structures and initialization



James Kuyper wrote:
Mark Bluemel wrote:
...
This should work though (I think) :-

sptr->TR->amsu_flag=0;

amsu_flag is an array of floats. Therefore it's not a modifiable lvalue (6.3.2.1p1), so it can't be the left operand of an assignment operator (6.5.16p2).

I did wonder, but it compiled (gcc) even with strict options...
.