Question about---error: stray ‘@’ in program

Ian Lance Taylor iant@google.com
Thu Oct 29 00:00:00 GMT 2009


David Bausum <davidbausum@gmail.com> writes:

> enum {Tag0 = 0,
>       A,
>       A1@B,
>       C,
>       Tag1};

C does not permit identifiers to contain an '@' character.  I'm not
aware of any version of gcc which permitted that.  I guess there could
have been one in the past.

Ian



More information about the Gcc-help mailing list