From: Jason L. <JL...@me...> - 2004-01-28 13:50:20
|
Unfortunately, I don't recall seeing the compiler errors you're having. My first thought is that it is incompatible with version 3.3 of gcc, but that seems unlikely. I guess my suggestion would be to create a cpp file that only includes sigc++.h and see if the compiler errors go away... e.g. test.cpp: ============= #include <sigc++.h> ============= Furthermore, you could try including the sigc++.h header before you include Config4GNU headers and see if that changes the errors you're getting. Now, about your problem with the gtkmm client. Are you getting the same errors with that as well? Jason >>> pi...@so... 1/27/04 8:25:02 AM >>> 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 _______________________________________________ Config4gnu-developer mailing list Con...@li... https://lists.sourceforge.net/lists/listinfo/config4gnu-developer |