This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testsuite] compiler.cc, compiler.c: work with old hp acc
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: drow at false dot org, mec dot gnu at mindspring dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Jun 2004 12:52:14 -0400 (EDT)
- Subject: Re: [patch/testsuite] compiler.cc, compiler.c: work with old hp acc
drow> There's also some option you can pass to aCC to stop it from doing
drow> this - there's an ANSI and a non-ANSI preprocessor and you can
drow> explicitly specify the ANSI one.
I can't find the option in the man page for aCC, but the man page
does mention that there are two preprocessor binaries:
/opt/langtools/lbin/cpp and /opt/langtools/lbin/cpp.ansi.
Some Postgres people ran into this as well. They were using the
preprocessor to generate output that is not C/C++ (which is what we're
doing, actually) and their generated output had constructs such as
"foo" "bar" "bletch", and the hp preprocessor was emitting "foobarbletch".
drow> I saw this with A.03.37.
HP is a handful of problems all right!
Michael C