osdir.com
mailing list archive

Subject: Re: Problem with sigc++ - msg#00015

List: sysutils.cfg.devel

Date: Prev Next Index Thread: Prev Next Index
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


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: Problem with sigc++

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

Next Message by Date: click to view message preview

Re: [devel] KNetworkConf

Confirmed... there are no meta-config definition for network config files available at this time. Jason >>> c.gatzemeier-3immqusGtKI@xxxxxxxxxxxxxxxx 1/26/04 9:14:35 AM >>> Thanks for the links Juan Luis. > I have looked at GFG site but didn't find any info about configuring the > network, only about configuring servers like apache, samba,etc. Could you > point me into the right place please? I'll try and CC the CFG list. Generally all settings are kept in config files. The network config too. To make those setings accessible with CFG it needs meta-config definitions for those network config files. A meta-config file says which syntax parser backend CFG has to use to access a particular config -file or -database. The meta-config file then describes the options available in the file and associates them into properties of "configuration nodes" in the CFG representation. Finaly the meta-config definition also tells CFG how to activate changes in the running system. Additionally the meta-config files can define forms and wizard logic for setting of mulipe properties in CFG in frontends. Now for example Debian and Mandrake use different "network" packages and config files. In the future both packages (the .deb and .rpm in which they are distributed) should come with meta-config files included. Their meta-config files will have some differences but the representation of the settings in CFG (IPs, netmasks etc.) is exactly the same. AFAIK there is unfortunately no meta-config definition for network config files available yet. Has somebody on the list done somthing in this direction? Listmembers please check out the Feature requests on sf.net I would also like to see a little more info on how to put CFG to use with additional packages (contribute meta-configs). > Anyway, I'll have to look if it's worth the effort to migrate to CFG, as > GST seems to be doing the things knetworkconf needs pretty well. In any > case I don't think it should be too hard to migrate to CFG if needed. Great if it is not too hard to do. For the moment in your place I would also stick to GST, and get a little familiar with CFG concepts since I too think the more modular framework is the way to go for the future. It has many advantages especially for development, distribution and maintanance. All the best, Christian ------------------------------------------------------- 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

Previous Message by Thread: click to view message preview

Re: Problem with sigc++

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

Next Message by Thread: click to view message preview

Re: Problem with sigc++

Am Mittwoch, 28. Januar 2004 16:26 schrieb Jason Long: > It's nice to see this resolved. Perhaps this question should be added to > the FAQ... Not sure if the following lines are enough. It's easy to go to http://linuxwiki.de/Config4Gnu/EnglishFAQ and click on edit at the bottom. There should probably be a little more explanation about the problem than there is now: --- Q: emit clashes with the QT emit !!! A: simply put the include to sigc++ BEFORE the includes for QT :) See: http://mail.gnome.org/archives/gnome-kde-list/1999-July/msg00012.html --- ------------------------------------------------------- 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
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by