This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/10225: Unnamed structs aren't handled correctly in 3.3
- From: Philipp Thomas <pthomas at suse dot de>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: gcc-gnats at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org, aj at suse dot de
- Date: Wed, 26 Mar 2003 18:33:47 +0100
- Subject: Re: c/10225: Unnamed structs aren't handled correctly in 3.3
- Organization: SuSE Linux AG
- References: <3E81E266.3060001@student.tudelft.nl>
* Steven Bosscher (s dot bosscher at student dot tudelft dot nl) [20030326 18:25]:
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10225
>
> Hmm... Didn't work with 2.95.3 apparently, so the
> kernel had better not rely on this "feature".
The code takes into account that gcc 2.95.3 doesn't support this. But seeing
the extra macro stuff that generates the correct member names depending on
the compiler used (e.g. you have to use ie->_IIF(iff,length) makes me really
wonder why they even use the stuff .....
Philipp
--
Philipp Thomas <pthomas at suse dot de>
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany