Re: nested structures and initialization
- From: Mark Bluemel <mark_bluemel@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 12:23:54 +0000
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...
.
- References:
- nested structures and initialization
- From: Sheldon
- Re: nested structures and initialization
- From: Mark Bluemel
- Re: nested structures and initialization
- From: James Kuyper
- nested structures and initialization
- Prev by Date: Re: One question of C
- Next by Date: Re: Hello, World!
- Previous by thread: Re: nested structures and initialization
- Next by thread: Re: nested structures and initialization
- Index(es):