This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
`$' in identifiers
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: `$' in identifiers
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 30 Aug 2000 14:47:38 -0600
- Reply-To: tromey at cygnus dot com
I'm checking this in. I needed this patch to build the latest
gcc+libgcj on Linux PPC. Not all gcc targets allow `$' in identifiers
by default, and this patch works around the problem.
2000-08-30 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -fdollars-in-identifiers.
Tom
Index: Makefile.am
===================================================================
RCS file: /cvs/java/libgcj/libjava/Makefile.am,v
retrieving revision 1.84
diff -u -r1.84 Makefile.am
--- Makefile.am 2000/08/27 22:06:43 1.84
+++ Makefile.am 2000/08/30 20:41:03
@@ -84,6 +84,8 @@
## currently broken with respect to exception handling in leaf
## functions.
AM_CXXFLAGS = -fno-rtti -fvtable-thunks -fasynchronous-exceptions \
+## Some systems don't allow `$' in identifiers by default, so we force it.
+ -fdollars-in-identifiers \
@LIBGCJ_CXXFLAGS@ @EXCEPTIONSPEC@ $(WARNINGS) -D_GNU_SOURCE
if USING_GCC
AM_CFLAGS = @LIBGCJ_CFLAGS@ $(WARNINGS)