|
Re: Problem with sigc++: msg#00015sysutils.cfg.devel
It's nice to see this resolved. Perhaps this question should be added to the FAQ... Jason >>> Pierre SOUCHAY <pierre-AGo4eGgojJnR7s880joybQ@xxxxxxxxxxxxxxxx> 1/28/04 >>> 10:19:16 AM >>> Hi again, Ok, I was right in my previous mail... See: http://mail.gnome.org/archives/gnome-kde-list/1999-July/msg00012.html emit clashes with the QT emit !!! The solution explained in the archive is correct, simply put the include to sigc++ BEFORE the includes for QT :) Yet Another Problem Solved :) I also plan to create a documentation for config4gnu to write frontends since the documentation is missing. I will send you the document as soon as finished. Best Regards. Pierre Souchay Jason Long wrote: > 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 > > > >>>>pierre-AGo4eGgojJnR7s880joybQ@xxxxxxxxxxxxxxxx 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 > Config4gnu-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/config4gnu-developer > ------------------------------------------------------- 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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Problem with sigc++: 00015, Pierre SOUCHAY |
|---|---|
| Next by Date: | Re: [devel] KNetworkConf: 00015, Jason Long |
| Previous by Thread: | Re: Problem with sigc++i: 00015, Pierre SOUCHAY |
| Next by Thread: | Re: Problem with sigc++: 00015, C. Gatzemeier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | Mail Home | sitemap | FAQ | advertise |