This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: 2.95.1 #include bug...


> 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

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