This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Could somebody please explain these terms - needed for translation
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: Could somebody please explain these terms - needed for translation
- From: Andreas Schwab <schwab at issan dot cs dot uni-dortmund dot de>
- Date: 28 Apr 1999 10:57:35 +0200
- Cc: kthomas at gwdg dot de (Philipp Thomas), egcs at egcs dot cygnus dot com
- References: <199904271911.PAA13756@blastula.phys.columbia.edu>
Zack Weinberg <zack@rabi.columbia.edu> writes:
|> On Tue, 27 Apr 1999 18:49:55 GMT, Philipp Thomas wrote:
|> >#: c-parse.y:1398
|> >"ANSI C forbids member declarations with no members"
|>
|> I am not certain what this means, either. It triggers on code like
|>
|> struct S { int; };
|>
|> but that also gets some other warnings.
I think it is intented to cover this case because it calls shadow_tag:
struct x { struct x; int y; };
Outside of a struct/union "struct x;" is valid as a declaration.
Andreas.
--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org