From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13891 invoked by alias); 9 Aug 2002 16:26:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 13835 invoked by uid 71); 9 Aug 2002 16:26:01 -0000 Resent-Date: 9 Aug 2002 16:26:01 -0000 Resent-Message-ID: <20020809162601.13834.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, boehme@informatik.hu-berlin.de Received: (qmail 9063 invoked from network); 9 Aug 2002 16:17:30 -0000 Received: from unknown (HELO mail.informatik.hu-berlin.de) (141.20.20.50) by sources.redhat.com with SMTP; 9 Aug 2002 16:17:30 -0000 Received: from kosh.informatik.hu-berlin.de (mail@kosh [141.20.23.210]) by mail.informatik.hu-berlin.de (8.11.3/8.11.3/INF-2.0-MA-SOLARIS-2.8) with ESMTP id g79GHTU09084; Fri, 9 Aug 2002 18:17:29 +0200 (MEST) Received: from boehme by kosh.informatik.hu-berlin.de with local (Exim 3.35 #1 (Debian)) id 17dCS9-0006Y0-00; Fri, 09 Aug 2002 18:17:29 +0200 Message-Id: Date: Fri, 09 Aug 2002 09:26:00 -0000 From: boehme@informatik.hu-berlin.de To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 Subject: preprocessor/7558: preprocessor option -MM has change semantic X-SW-Source: 2002-08/txt/msg00193.txt.bz2 List-Id: >Number: 7558 >Category: preprocessor >Synopsis: preprocessor option -MM has change semantic >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: change-request >Submitter-Id: net >Arrival-Date: Fri Aug 09 09:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: >Release: 3.1.1 (Debian testing/unstable) >Organization: >Environment: System: Linux kosh 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686 unknown unknown GNU/Linux Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: /mnt/data/gcc-3.1/gcc-3.1-3.1.1ds3/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-__cxa_atexit --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: In gcc 3.1, -MM prints dependencies even to files included with angle brackets (), if those are found through -I options. This behaviour is unintuitive and a change from earlier versions. It appears that the only way to suppress these files is to use the -isystem directive, which is quite gcc specific and hard to use in a makefile that needs to work across different compilers, or that is generated by autoconf. >How-To-Repeat: Compile the file #include int main() { } with gcc -I. -MM; this gives a.o: a.c a.h even though a.h should not have been mentioned. >Fix: No real work-around is known. >Release-Note: >Audit-Trail: >Unformatted: