[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES modifications and clarification



2009/12/10 Vincent Rivière <vincent.riviere@freesbee.fr>:
> 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...

Haha, I am currently doing the same... At least its still not needed
for gcc c89 - how about Atari compilers like PureC or Lattice?

/Kåre