[Bug c/28318] error message could be better

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jul 8 18:43:00 GMT 2006



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-07-08 18:43 -------
http://gcc.gnu.org/onlinedocs/cpp/Implementation_002ddefined-behavior.html#Implementation_002ddefined-behavior

GCC allows the `$' character in identifiers as an extension for most targets.
This is true regardless of the std= switch, since this extension cannot
conflict with standards-conforming programs. When preprocessing assembler,
however, dollars are not identifier characters by default.

Currently the targets that by default do not permit `$' are AVR, IP2K, MMIX,
MIPS Irix 3, ARM aout, and PowerPC targets for the AIX and BeOS operating
systems.

You can override the default with -fdollars-in-identifiers or
fno-dollars-in-identifiers. See fdollars-in-identifiers.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28318



More information about the Gcc-bugs mailing list