From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15766 invoked by alias); 30 Jun 2004 16:52:30 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 15691 invoked from network); 30 Jun 2004 16:52:28 -0000 Received: from unknown (HELO barry.mail.mindspring.net) (207.69.200.25) by sourceware.org with SMTP; 30 Jun 2004 16:52:28 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BfiJh-0000N4-00; Wed, 30 Jun 2004 12:52:13 -0400 Received: by berman.michael-chastain.com (Postfix, from userid 502) id 1A9234B104; Wed, 30 Jun 2004 12:52:14 -0400 (EDT) To: drow@false.org, mec.gnu@mindspring.com Subject: Re: [patch/testsuite] compiler.cc, compiler.c: work with old hp acc Cc: gdb-patches@sources.redhat.com Message-Id: <20040630165214.1A9234B104@berman.michael-chastain.com> Date: Wed, 30 Jun 2004 16:52:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2004-06/txt/msg00702.txt.bz2 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