Your message dated Thu, 17 Apr 2003 21:51:05 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#186348: g++-3.2 -MM
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Mar 2003 12:36:49 +0000
>From [EMAIL PROTECTED] Wed Mar 26 06:36:47 2003
Return-path: <[EMAIL PROTECTED]>
Received: from nms.rz.uni-kiel.de (uni-kiel.de) [134.245.1.2] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18yA98-0006cb-00; Wed, 26 Mar 2003 06:36:47 -0600
Received: from amavis by uni-kiel.de with scanned-ok (Exim 3.33 #1)
        id 18yA97-0005fX-00
        for [EMAIL PROTECTED]; Wed, 26 Mar 2003 13:36:45 +0100
Received: from bourbaki.math.uni-kiel.de ([134.245.104.244])
        by uni-kiel.de with esmtp (Exim 3.33 #1)
        id 18yA8x-0005eD-00; Wed, 26 Mar 2003 13:36:35 +0100
Received: from hensel.math.uni-kiel.de ([EMAIL PROTECTED] [134.245.104.241])
        by bourbaki.math.uni-kiel.de (8.12.3/8.12.3/Debian -4) with ESMTP id 
h2QCaZ3L025611;
        Wed, 26 Mar 2003 13:36:35 +0100
Received: from dknof by hensel.math.uni-kiel.de with local (Exim 3.35 #1 
(Debian))
        id 18yA40-0002C5-00; Wed, 26 Mar 2003 13:31:28 +0100
Date: Wed, 26 Mar 2003 13:31:28 +0100
To: [EMAIL PROTECTED]
Subject: g++-3.2 -MM
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
From: Diether Knof <[EMAIL PROTECTED]>
X-Virus-Scanned: by AMaViS perl-11 (Uni-Kiel/nms)
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-1.9 required=4.0
        tests=HAS_PACKAGE,SPAM_PHRASE_00_01,SUPERLONG_LINE,USER_AGENT,
              USER_AGENT_MUTT
        version=2.44
X-Spam-Level: 

Package: gcc-3.2
Version: 3.2.1-0pre3

When I use gcc-3.2 with the -MM option for the dependencies, I also get  
dependencies of the gtk libraries, which I include from the system. I think, 
gcc does not look at the include directories, included with '-I' ('gtk-config 
--cflags' outputs '-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include').
With the version 3.0 and 2.95 everything works fine.

Demo source (one line):
#include <gtk/gtk.h>

Call (needs libgtk1.2-dev):
gcc-3.2 `gtk-config --cflags` -MM bug1.c

Output:
bug1.o: bug1.c /usr/include/gtk-1.2/gtk/gtk.h \
  /usr/include/gtk-1.2/gdk/gdk.h /usr/include/gtk-1.2/gdk/gdktypes.h \
        /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glibconfig.h \
        /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h 
\
        /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
        /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
        /usr/include/gtk-1.2/gtk/gtktypeutils.h \
        /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
        /usr/include/gtk-1.2/gtk/gtkenums.h /usr/include/gtk-1.2/gtk/gtkdebug.h 
\
        /usr/include/gtk-1.2/gtk/gtkaccellabel.h \
        /usr/include/gtk-1.2/gtk/gtklabel.h /usr/include/gtk-1.2/gtk/gtkmisc.h \
        /usr/include/gtk-1.2/gtk/gtkwidget.h \
        /usr/include/gtk-1.2/gtk/gtkadjustment.h \
        /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
        /usr/include/gtk-1.2/gtk/gtkalignment.h \
        /usr/include/gtk-1.2/gtk/gtkbin.h \
        /usr/include/gtk-1.2/gtk/gtkcontainer.h \
        /usr/include/gtk-1.2/gtk/gtkaspectframe.h \
        /usr/include/gtk-1.2/gtk/gtkframe.h /usr/include/gtk-1.2/gtk/gtkarrow.h 
\
        /usr/include/gtk-1.2/gtk/gtkbindings.h \
        /usr/include/gtk-1.2/gtk/gtkbox.h /usr/include/gtk-1.2/gtk/gtkbbox.h \
        /usr/include/gtk-1.2/gtk/gtkbutton.h \
        /usr/include/gtk-1.2/gtk/gtkcalendar.h \
        /usr/include/gtk-1.2/gtk/gtksignal.h \
        /usr/include/gtk-1.2/gtk/gtkmarshal.h \
        /usr/include/gtk-1.2/gtk/gtkcheckbutton.h \
        /usr/include/gtk-1.2/gtk/gtktogglebutton.h \
        /usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h \
        /usr/include/gtk-1.2/gtk/gtkmenuitem.h \
        /usr/include/gtk-1.2/gtk/gtkitem.h /usr/include/gtk-1.2/gtk/gtkclist.h \
        /usr/include/gtk-1.2/gtk/gtkhscrollbar.h \
        /usr/include/gtk-1.2/gtk/gtkscrollbar.h \
        /usr/include/gtk-1.2/gtk/gtkrange.h \
        /usr/include/gtk-1.2/gtk/gtkvscrollbar.h \
        /usr/include/gtk-1.2/gtk/gtkcolorsel.h \
        /usr/include/gtk-1.2/gtk/gtkwindow.h /usr/include/gtk-1.2/gtk/gtkvbox.h 
\
        /usr/include/gtk-1.2/gtk/gtkpreview.h \
        /usr/include/gtk-1.2/gtk/gtkentry.h \
        /usr/include/gtk-1.2/gtk/gtkeditable.h \
        /usr/include/gtk-1.2/gtk/gtkhbox.h /usr/include/gtk-1.2/gtk/gtkmain.h \
        /usr/include/gtk-1.2/gtk/gtkscale.h \
        /usr/include/gtk-1.2/gtk/gtkhscale.h \
        /usr/include/gtk-1.2/gtk/gtktable.h \
        /usr/include/gtk-1.2/gtk/gtkeventbox.h \
        /usr/include/gtk-1.2/gtk/gtkcombo.h \
        /usr/include/gtk-1.2/gtk/gtkcompat.h \
        /usr/include/gtk-1.2/gtk/gtkctree.h /usr/include/gtk-1.2/gtk/gtkcurve.h 
\
        /usr/include/gtk-1.2/gtk/gtkdrawingarea.h \
        /usr/include/gtk-1.2/gtk/gtkdialog.h /usr/include/gtk-1.2/gtk/gtkdnd.h \
        /usr/include/gtk-1.2/gtk/gtkselection.h \
        /usr/include/gtk-1.2/gtk/gtkfeatures.h \
        /usr/include/gtk-1.2/gtk/gtkfilesel.h \
        /usr/include/gtk-1.2/gtk/gtkfixed.h \
        /usr/include/gtk-1.2/gtk/gtkfontsel.h \
        /usr/include/gtk-1.2/gtk/gtknotebook.h \
        /usr/include/gtk-1.2/gtk/gtkgamma.h /usr/include/gtk-1.2/gtk/gtkgc.h \
        /usr/include/gtk-1.2/gtk/gtkhandlebox.h \
        /usr/include/gtk-1.2/gtk/gtkhbbox.h \
        /usr/include/gtk-1.2/gtk/gtkhpaned.h \
        /usr/include/gtk-1.2/gtk/gtkpaned.h \
        /usr/include/gtk-1.2/gtk/gtkhruler.h \
        /usr/include/gtk-1.2/gtk/gtkruler.h \
        /usr/include/gtk-1.2/gtk/gtkhseparator.h \
        /usr/include/gtk-1.2/gtk/gtkseparator.h \
        /usr/include/gtk-1.2/gtk/gtkimage.h \
        /usr/include/gtk-1.2/gtk/gtkinputdialog.h \
        /usr/include/gtk-1.2/gtk/gtkitemfactory.h \
        /usr/include/gtk-1.2/gtk/gtkmenufactory.h \
        /usr/include/gtk-1.2/gtk/gtklayout.h /usr/include/gtk-1.2/gtk/gtklist.h 
\
        /usr/include/gtk-1.2/gtk/gtklistitem.h \
        /usr/include/gtk-1.2/gtk/gtkmenu.h \
        /usr/include/gtk-1.2/gtk/gtkmenushell.h \
        /usr/include/gtk-1.2/gtk/gtkmenubar.h \
        /usr/include/gtk-1.2/gtk/gtkoptionmenu.h \
        /usr/include/gtk-1.2/gtk/gtkpacker.h \
        /usr/include/gtk-1.2/gtk/gtkpixmap.h /usr/include/gtk-1.2/gtk/gtkplug.h 
\
        /usr/include/gtk-1.2/gtk/gtkprogress.h \
        /usr/include/gtk-1.2/gtk/gtkprogressbar.h \
        /usr/include/gtk-1.2/gtk/gtkradiobutton.h \
        /usr/include/gtk-1.2/gtk/gtkradiomenuitem.h \
        /usr/include/gtk-1.2/gtk/gtkrc.h \
        /usr/include/gtk-1.2/gtk/gtkscrolledwindow.h \
        /usr/include/gtk-1.2/gtk/gtkviewport.h \
        /usr/include/gtk-1.2/gtk/gtksocket.h \
        /usr/include/gtk-1.2/gtk/gtkspinbutton.h \
        /usr/include/gtk-1.2/gtk/gtkstatusbar.h \
        /usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h \
        /usr/include/gtk-1.2/gtk/gtktext.h /usr/include/gtk-1.2/gtk/gtkthemes.h 
\
        /usr/include/gtk-1.2/gtk/gtktipsquery.h \
        /usr/include/gtk-1.2/gtk/gtktoolbar.h \
        /usr/include/gtk-1.2/gtk/gtktooltips.h \
        /usr/include/gtk-1.2/gtk/gtktree.h \
        /usr/include/gtk-1.2/gtk/gtktreeitem.h \
        /usr/include/gtk-1.2/gtk/gtkvbbox.h \
        /usr/include/gtk-1.2/gtk/gtkvpaned.h \
        /usr/include/gtk-1.2/gtk/gtkvruler.h \
        /usr/include/gtk-1.2/gtk/gtkvscale.h \
        /usr/include/gtk-1.2/gtk/gtkvseparator.h

Expected output (as with g++-3.0 and gcc-2.95):
bug1.o: bug1.c

---------------------------------------
Received: (at 186348-done) by bugs.debian.org; 17 Apr 2003 19:54:42 +0000
>From [EMAIL PROTECTED] Thu Apr 17 14:54:42 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 196FSz-0001Lm-00; Thu, 17 Apr 2003 14:54:41 -0500
Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1])
        by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id VAA22582;
        Thu, 17 Apr 2003 21:51:05 +0200 (MET DST)
Received: (from [EMAIL PROTECTED])
        by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h3HJp5I18309;
        Thu, 17 Apr 2003 21:51:05 +0200 (MEST)
From: Matthias Klose <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <[EMAIL PROTECTED]>
Date: Thu, 17 Apr 2003 21:51:05 +0200
To: Diether Knof <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED]
Subject: Re: Bug#186348: g++-3.2 -MM
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
        <[EMAIL PROTECTED]>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-1.3 required=4.0
        tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,
              SUPERLONG_LINE
        version=2.44
X-Spam-Level: 

Diether Knof writes:
> On Wed, Mar 26, 2003 at 10:29:51AM -0500, Daniel Jacobowitz wrote:
> > On Wed, Mar 26, 2003 at 01:31:28PM +0100, Diether Knof wrote:
> > > Package: gcc-3.2
> > > Version: 3.2.1-0pre3
> > > 
> > > When I use gcc-3.2 with the -MM option for the dependencies, I also get  
> > > dependencies of the gtk libraries, which I include from the system. I 
> > > think, gcc does not look at the include directories, included with '-I' 
> > > ('gtk-config --cflags' outputs '-I/usr/include/gtk-1.2 
> > > -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include').
> > > With the version 3.0 and 2.95 everything works fine.
> > 
> > >From the documentation:
> > `-MM'
> >      Like `-M' but do not mention header files that are found in system
> >      header directories, nor header files that are included, directly
> >      or indirectly, from such a header.
> > 
> >      This implies that the choice of angle brackets or double quotes in
> >      an `#include' directive does not in itself determine whether that
> >      header will appear in `-MM' dependency output.  This is a slight
> >      change in semantics from GCC versions 3.0 and earlier.
> Thanks, I just invoked 'man gcc' and got the documentation for gcc-2.95.

man gcc-3.2 should work.

> > If you change -I to -isystem, then the right thing should happen; not
> > sure about that though.
> Yes, that works (so I now use `gtk-config --cflags | sed "s/-I/-isystem /g"`).

closing the report.


Reply via email to