From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14975 invoked by alias); 18 Jun 2002 19:23:07 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14960 invoked from network); 18 Jun 2002 19:23:00 -0000 Received: from unknown (HELO madcow.cryp.to) (193.123.234.158) by sources.redhat.com with SMTP; 18 Jun 2002 19:23:00 -0000 Received: from peti.cryp.to (pD9E0D763.dip.t-dialin.net [217.224.215.99]) by madcow.cryp.to with ESMTP id g5IJMwfN024391 for ; Tue, 18 Jun 2002 21:22:59 +0200 Received: from peti.cryp.to (localhost [127.0.0.1]) by peti.cryp.to with ESMTP id g5IJMvOK019976 for ; Tue, 18 Jun 2002 21:22:57 +0200 Received: (from simons@localhost) by peti.cryp.to id g5IJMvKJ019973; Tue, 18 Jun 2002 21:22:57 +0200 To: gcc-help@gcc.gnu.org Subject: How to disable cpp's warning about changed search order From: Peter Simons Date: Tue, 18 Jun 2002 12:23:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00163.txt.bz2 Hi, is there any way to permamently disable the warning | warning: changing search order for system directory "/usr/X11R6/include" | warning: as it has already been specified as a non-system directory when compiling with gcc? I am asking because this warning breaks various autoconf macros (such as AC_TRY_CPP), which interpret output to stderr as failure -- incorrectly in this case. I looked through the documentation but found no good solution so far. Any pointers are highly appreciated! -peter