From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28941 invoked by alias); 15 Jun 2009 02:08:16 -0000 Received: (qmail 28874 invoked by uid 48); 15 Jun 2009 02:08:02 -0000 Date: Mon, 15 Jun 2009 02:08:00 -0000 Message-ID: <20090615020802.28873.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/40442] Option -I and POSIX conformance (c99 utility) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "vincent at vinc17 dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00907.txt.bz2 ------- Comment #2 from vincent at vinc17 dot org 2009-06-15 02:08 ------- This may be true for standard headers, but system directories don't contain only standard headers: in practice, they generally also contain additional libraries. And for instance, a -I/usr/include can be useful to override headers/libraries installed in /usr/local/{include,lib}. Then perhaps gcc (and POSIX) should make a difference between standard headers and other headers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40442