-----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.

Martin

> Thank you,
> Aleksey

- -- 
- ------------------------------------------------------------
H E L I X Gesellschaft f�r Software & Engineering mbH
- ------------------------------------------------------------
Hanauer Landstrasse 52              Telefon (069) 4789 35-30
60314 Frankfurt am Main             Telefax (069) 4789 35-44
- ------------------------------------------------------------
http://www.helix-gmbh.net                [EMAIL PROTECTED]
- ------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9t5IaBG198cnayKQRAvemAJ9gg8rw0Z+htfftueerVmCmIWF6HgCfUVqf
PgFUogW7JO/JCs2jCbHVKJQ=
=ln7+
-----END PGP SIGNATURE-----


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

Reply via email to