Miro Kropacek a écrit :
The compiler consider a structure as defined after the closing brace. So without a special artifice, a structure member can't refer to itself, because the type has not been defined yet.Not true. At this time, compiler is already aware of the structure declaration. That declaration statement is useless.
Shame on me, you are right, it works with GCC without the forward declaration, even with the most strict options !?!
I will try on other compilers. All my convictions crumble... -- Vincent Rivière