Date: Tue, 06 Feb 2001 08:38:23 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-Id: <2110-Tue06Feb2001083823+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 Subject: [aoliva AT redhat DOT com: Re: Why warn about #include_next in system headers?] Reply-To: djgpp-workers AT delorie DOT com The below seems to indicate that we need to change the library makefile's to use -isystem instead of -I. Since -isystem is supported even by GCC 2.7.2, it sounds safe. Comments? ------- Start of forwarded message ------- Mailing-List: contact gcc-bugs-help AT gcc DOT gnu DOT org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner AT gcc DOT gnu DOT org To: Franz Sirl Cc: Neil Booth , gcc-bugs AT gcc DOT gnu DOT org Subject: Re: Why warn about #include_next in system headers? From: Alexandre Oliva Organization: GCC Team, Red Hat Date: 05 Feb 2001 23:56:49 -0200 In-Reply-To: <01020600221104 DOT 26861 AT enzo DOT bigblue DOT local> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) Content-Type: text/plain; charset=us-ascii Content-Length: 610 On Feb 5, 2001, Franz Sirl wrote: >> 2) For some reason CPP doesn't think the file it appears in is a >> system header. > Hmm, does -I/usr/include qualify for 2)? Yep. -isystem is the way to tell GCC to search a certain directory as a system header. -I is for non-system headers. - -- 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 *Please* write to mailing lists, not to me ------- End of forwarded message -------