From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29363 invoked by alias); 11 Aug 2002 09:06:04 -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 29331 invoked by uid 71); 11 Aug 2002 09:06:03 -0000 Date: Sun, 11 Aug 2002 02:48:00 -0000 Message-ID: <20020811090603.29330.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: martin@v.loewis.de (Martin v. Loewis) Subject: Re: preprocessor/7558: preprocessor option -MM has change semantic Reply-To: martin@v.loewis.de (Martin v. Loewis) X-SW-Source: 2002-08/txt/msg00222.txt.bz2 List-Id: The following reply was made to PR preprocessor/7558; it has been noted by GNATS. From: martin@v.loewis.de (Martin v. Loewis) To: Neil Booth Cc: boehme@informatik.hu-berlin.de, gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Subject: Re: preprocessor/7558: preprocessor option -MM has change semantic Date: 11 Aug 2002 11:02:38 +0200 Neil Booth writes: > If it's a system header, why are you lying to the compiler? I'm not lying, I use > Maybe a real-life example and not "a.h" would help. Ok, here is the real-life example. Consider #include int main(){} which is compiled with g++-3.1 -MM -I/opt/JBuilder6/jdk1.3.1/include -I /opt/JBuilder6/jdk1.3.1/include/linux -c a.cc This gives as the output a.o: a.cc /opt/JBuilder6/jdk1.3.1/include/jni.h \ /opt/JBuilder6/jdk1.3.1/include/linux/jni_md.h I don't want the dependencies on jni.h, as those are system headers. Regards, Martin