This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]