This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95.1 #include bug...
- To: lohner at debian dot org
- Subject: Re: 2.95.1 #include bug...
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 4 Jan 2000 00:00:19 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <200001031119.MAA29867@bernin.ecf.teradyne.com>
> Apparently there's a bug in how the existing includes get
> detected... I plan to try 2.95.2 in January when I return from
> vacation.
Thanks for your bug report. This is not a bug in gcc, but one in ddd:
> c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -felide-constructors
> -fconserve-space -trigraphs -c -I. -I. -I./.. -I/sup/include -I/usr/include
> -I/usr/openwin/include -o ArcBox.o ArcBox.C
The problem is caused by gcc passing -I/usr/include, which causes the
compiler to use the system header files, instead of the fixed ones.
Reportedly, this is fixed in more recent ddd versions.
Regards,
Martin