This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: New cpp0 warning in 3.1 breaks configure (autoconf)
On Jun 11, 2002, Marc Espie <espie@nerim.net> wrote:
> On Tue, Jun 11, 2002 at 07:58:54PM -0300, Alexandre Oliva wrote:
>> On Jun 11, 2002, Marc Espie <espie@quatramaran.ens.fr> wrote:
>>
>> > In article <200206112213.g5BMDp3L044244@latour.rsch.comm.mot.com> you write:
>> >> I think the current behavior is worth defending since skipping fixed
>> >> system headers can cause serve cascading problems that are hard to
>> >> debug by the user.
>> > Of course, this does assume the compiler and fixincludes are always right.
>> -I/usr/include is always wrong. -isystem /usr/include might be
>> acceptable.
> Well, the problem stemmed from /usr/local/include in the first place.
> Entirely different beast.
> See what I mean about different assumptions ?
Same difference to me. -I/usr/local/include is wrong too, since
/usr/local/include is a system header directory. -Iing it may not be
as evil as /usr/include, but it's still a bad idea IMO.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer