[sigc] Problems with sigc++config.h



I started compiling my program (Coaster), which includes its config.h
for certain defines that aclocal sets up, when I got these warnings:

 In file included from common.h:13,
                 from chooser.h:6,
                 from chooser.cc:1:
../config.h:65:1: warning: "PACKAGE_BUGREPORT" redefined
In file included
from /opt/gnome26/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5,

from /opt/gnome26/include/sigc++-2.0/sigc++/functors/slot.h:7,

from /opt/gnome26/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /opt/gnome26/include/sigc++-2.0/sigc++/signal.h:8,

from /opt/gnome26/include/sigc++-2.0/sigc++/sigc++.h:23,

from /opt/gnome26/include/glibmm-2.3/glibmm/dispatcher.h:24,
                 from /opt/gnome26/include/glibmm-2.3/glibmm.h:32,

from /opt/gnome26/include/gtkmm-2.3/gtkmm/filechooserdialog.h:6,
                 from chooser.h:4,
                 from chooser.cc:1:
/opt/gnome26/lib/sigc++-1.9/include/sigc++config.h:38:1: warning: this
is the location of the previous definition
In file included from common.h:13,
                 from chooser.h:6,
                 from chooser.cc:1:
../config.h:68:1: warning: "PACKAGE_NAME" redefined
In file included
from /opt/gnome26/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5,

from /opt/gnome26/include/sigc++-2.0/sigc++/functors/slot.h:7,

from /opt/gnome26/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /opt/gnome26/include/sigc++-2.0/sigc++/signal.h:8,

from /opt/gnome26/include/sigc++-2.0/sigc++/sigc++.h:23,

from /opt/gnome26/include/glibmm-2.3/glibmm/dispatcher.h:24,
                 from /opt/gnome26/include/glibmm-2.3/glibmm.h:32,

from /opt/gnome26/include/gtkmm-2.3/gtkmm/filechooserdialog.h:6,
                 from chooser.h:4,
                 from chooser.cc:1:
/opt/gnome26/lib/sigc++-1.9/include/sigc++config.h:41:1: warning: this
is the location of the previous definition
In file included from common.h:13,
                 from chooser.h:6,
                 from chooser.cc:1:
../config.h:71:1: warning: "PACKAGE_STRING" redefined
In file included
from /opt/gnome26/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5,

from /opt/gnome26/include/sigc++-2.0/sigc++/functors/slot.h:7,

from /opt/gnome26/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /opt/gnome26/include/sigc++-2.0/sigc++/signal.h:8,

from /opt/gnome26/include/sigc++-2.0/sigc++/sigc++.h:23,

from /opt/gnome26/include/glibmm-2.3/glibmm/dispatcher.h:24,
                 from /opt/gnome26/include/glibmm-2.3/glibmm.h:32,

from /opt/gnome26/include/gtkmm-2.3/gtkmm/filechooserdialog.h:6,
                 from chooser.h:4,
                 from chooser.cc:1:
/opt/gnome26/lib/sigc++-1.9/include/sigc++config.h:44:1: warning: this
is the location of the previous definition
In file included from common.h:13,
                 from chooser.h:6,
                 from chooser.cc:1:
../config.h:74:1: warning: "PACKAGE_TARNAME" redefined
In file included
from /opt/gnome26/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5,

from /opt/gnome26/include/sigc++-2.0/sigc++/functors/slot.h:7,

from /opt/gnome26/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /opt/gnome26/include/sigc++-2.0/sigc++/signal.h:8,

from /opt/gnome26/include/sigc++-2.0/sigc++/sigc++.h:23,

from /opt/gnome26/include/glibmm-2.3/glibmm/dispatcher.h:24,
                 from /opt/gnome26/include/glibmm-2.3/glibmm.h:32,

from /opt/gnome26/include/gtkmm-2.3/gtkmm/filechooserdialog.h:6,
                 from chooser.h:4,
                 from chooser.cc:1:
/opt/gnome26/lib/sigc++-1.9/include/sigc++config.h:47:1: warning: this
is the location of the previous definition
In file included from common.h:13,
                 from chooser.h:6,
                 from chooser.cc:1:
../config.h:77:1: warning: "PACKAGE_VERSION" redefined
In file included
from /opt/gnome26/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:5,

from /opt/gnome26/include/sigc++-2.0/sigc++/functors/slot.h:7,

from /opt/gnome26/include/sigc++-2.0/sigc++/signal_base.h:27,
                 from /opt/gnome26/include/sigc++-2.0/sigc++/signal.h:8,

from /opt/gnome26/include/sigc++-2.0/sigc++/sigc++.h:23,

from /opt/gnome26/include/glibmm-2.3/glibmm/dispatcher.h:24,
                 from /opt/gnome26/include/glibmm-2.3/glibmm.h:32,

from /opt/gnome26/include/gtkmm-2.3/gtkmm/filechooserdialog.h:6,
                 from chooser.h:4,
                 from chooser.cc:1:
/opt/gnome26/lib/sigc++-1.9/include/sigc++config.h:50:1: warning: this
is the location of the previous definition

I checked out this file, and it has all the package variables defined in
it.  I propose that we put the one thing we need from that file in a
separate file and install it instead of what we are doing now.  Hope
this helps.

-- 
======================================================================
Bryan Forbes
bryan reigndropsfall net
http://www.reigndropsfall.net

"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
        - Samuel Adams, an architect of the Constitution

Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]