`$' in identifiers -vs- PPC Linux

Alexandre Oliva aoliva@redhat.com
Wed Aug 30 14:11:00 GMT 2000


On Aug 30, 2000, Tom Tromey <tromey@cygnus.com> wrote:

>     #define DOLLARS_IN_IDENTIFIERS 0

> Could we define this to `1' for Linux?

If the assembler accepts dollars in identifiers, yes.

I'm bitten by this problem on AIX 4.1, when compiling libgcj.  It
would be nice if g++ could somehow mangle `$' so as to accept it in
source-code (even if with -fdollars-in-identifiers) even if the
assembler can't accept them directly.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list