From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9963 invoked by alias); 9 Sep 2011 01:28:05 -0000 Received: (qmail 9951 invoked by uid 22791); 9 Sep 2011 01:28:04 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f50.google.com (HELO mail-pz0-f50.google.com) (209.85.210.50) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Sep 2011 01:27:51 +0000 Received: by pzd13 with SMTP id 13so234049pzd.9 for ; Thu, 08 Sep 2011 18:27:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.7.36 with SMTP id g4mr2265607pba.109.1315531670232; Thu, 08 Sep 2011 18:27:50 -0700 (PDT) Received: by 10.142.232.15 with HTTP; Thu, 8 Sep 2011 18:27:50 -0700 (PDT) Date: Fri, 09 Sep 2011 01:28:00 -0000 Message-ID: Subject: Source directory override with #include "..." From: Arnaud Lacombe To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00072.txt.bz2 Hi folks, There do not seem to be any other way to override the source directory in the search path for #include "...", than using -Ioverride -I-. However, -I- has been marked deprecated. If the removal ever occurs, there will be no way to do the override. Isn't it an option which should be available to the user ? Thanks, - Arnaud