On Thursday 24 October 2002 02:24 am, Martin Fahrendorf wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Mittwoch, 23. Oktober 2002 21:30 schrieb Aleksey Naumov:
> > Dear experts,
> >
> > I am using gcc 3.2 (on ML 9.0) and I get a lot of warnings from cc1:
> >
> >  cc1: warning: changing search order for system directory
> > "/usr/local/include" cc1: warning:   as it has already been specified as
> > a non-system directory
> >
> > I understand this warning is caused by '-I/usr/local/include' in the
> > compilation line. So, '/usr/local/include' must be a system include
> > directory in gcc 3.2.
> >
> > Is there any way to suppress this message, or remove
> > '/usr/local/include' from the default include list? A lot of packages I
> > have to compile use '-I/usr/local/include' and it is a pain to deal with
> > the flood of identical cc1 warnings.
>
> It's more than a pain; cyrus' imap-2.0.16 does not configure correctly
> because they interprete these warning as an error.
>
> So thats the big advantage of OpenSource, use the Source. search for
> /usr/local/include in the configure-scripts or Makefiles and remove it.

That will be my last resort. I still hope there is aa easy way to remove 
/usr/local/include from system includes; 'gcc -v' gives current configure 
options, maybe I have to recompile gcc with appropriate option?
Otherwise, I'll have to edit Makefiles every time I update my files from CVS 
repository...

Aleksey




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to