Problem with sigc++
Pierre SOUCHAY <[email protected]> Tue, 27 Jan 2004 14:25:02 +0100
| Newsgroups | gmane.comp.sysutils.cfg.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have compiled config4gnu on my debian testing with gcc3.3 and it
works. I use sigc++-1.2 (debian package) and would like to create a
client for KDE.
I know sigc++ is not your library, but maybe you already had similar
issues (see at the bottom).
I cannot compile your gtkmm client neither.
Best Regards.
Thanks.
Pierre Souchay
In file included from /usr/include/sigc++-1.2/sigc++/sigc++.h:27,
from
/home/pierre/apps/config4gnu-0.1.8/src/libconfig4gnu/CfgObject.h:9,
from
/home/pierre/apps/config4gnu-0.1.8/src/libconfig4gnu/FrontendHelper.h:4,
from konfig4gnu_part.cpp:15:
/usr/include/sigc++-1.2/sigc++/signal.h:167: error: declaration does not
declare anything
/usr/include/sigc++-1.2/sigc++/signal.h:167: error: parse error before `)'
token
/usr/include/sigc++-1.2/sigc++/signal.h:171: error: ISO C++ forbids defining
types within return type
/usr/include/sigc++-1.2/sigc++/signal.h:171: error: syntax error before `
operator'
/usr/include/sigc++-1.2/sigc++/signal.h:172: error: ISO C++ forbids
declaration
of `operator()' with no type
/usr/include/sigc++-1.2/sigc++/signal.h:172: error: `int SigC::operator()()'
must be a nonstatic member function
/usr/include/sigc++-1.2/sigc++/signal.h: In function `int
SigC::operator()()':
/usr/include/sigc++-1.2/sigc++/signal.h:172: error: `impl_' undeclared
(first
use this function)
/usr/include/sigc++-1.2/sigc++/signal.h:172: error: (Each undeclared
identifier
is reported only once for each function it appears in.)
/usr/include/sigc++-1.2/sigc++/signal.h:172: error: `emit_' undeclared
(first
use this function)
/usr/include/sigc++-1.2/sigc++/signal.h: At global scope:
/usr/include/sigc++-1.2/sigc++/signal.h:175: error: ISO C++ forbids
declaration
of `Signal0' with no type
/usr/include/sigc++-1.2/sigc++/signal.h: In function `int SigC::Signal0()':
/usr/include/sigc++-1.2/sigc++/signal.h:175: error: `int SigC::Signal0()'
redeclared as different kind of symbol
/usr/include/sigc++-1.2/sigc++/signal.h:144: error: previous declaration
of `
template<class R, class Marsh> class SigC::Signal0'
/usr/include/sigc++-1.2/sigc++/signal.h:144: error: previous non-function
declaration `template<class R, class Marsh> class SigC::Signal0'
/usr/include/sigc++-1.2/sigc++/signal.h:175: error: conflicts with function
declaration `int SigC::Signal0()'
/usr/include/sigc++-1.2/sigc++/signal.h:175: error: only constructors
take base
initializers
/usr/include/sigc++-1.2/sigc++/signal.h:176: confused by earlier errors,
bailing out
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn