From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Booth To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: preprocessor/2948 Date: Sun, 27 May 2001 00:46:00 -0000 Message-id: <20010527074600.9978.qmail@sourceware.cygnus.com> X-SW-Source: 2001-05/msg00889.html List-Id: The following reply was made to PR preprocessor/2948; it has been noted by GNATS. From: Neil Booth To: Sean McNeil Cc: neil@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Subject: Re: preprocessor/2948 Date: Sun, 27 May 2001 08:39:49 +0100 Sean McNeil wrote:- > 2 stage command: > > arm-wrs-vxworks-g++ -E -mcpu=arm8 -mapcs-32 -mlittle-endian -ansi > -nostdinc -fno-implicit-templates -DVXW_EXPLICIT_TEMPLATES -O2 > -mno-sched-prolog -I/usr/wind/target/h -DCPU=ARMARCH4 -DARMEL > -fno-exceptions -o /tmp/ttt.cc -c PlotFile.cpp > > arm-wrs-vxworks-g++ -mcpu=arm8 -mapcs-32 -mlittle-endian -ansi -nostdinc > -fno-implicit-templates -DVXW_EXPLICIT_TEMPLATES -O2 -mno-sched-prolog > -I/usr/wind/target/h -DCPU=ARMARCH4 -DARMEL -fno-exceptions -o > /tmp/ttt.o /tmp/ttt.cc Could you try naming your intermediate file ttt.ii? This is the convention for C++ preprocessed source. Naming it ttt.cc informs the compiler that it is unpreprocessed source for the 2nd invocation too, which could be what is causing the problems. Neil.