GCC 4.1 patch
Brought to you by:
dustismo
error when compile with gcc 4.1
--- libYc++/Y/c++/objects/ytogglebutton.h 2006-
04-08 09:25:27.000000000 +0800
+++ libYc++/Y/c++/objects/ytogglebutton.h~ 2006-
04-08 08:52:41.000000000 +0800
@@ -38,8 +38,8 @@
YToggleButton (Y::Connection *y, std::string t);
virtual ~YToggleButton ();
- bool getIsPressed();
- std::string getLabel();
+ bool YToggleButton::getIsPressed();
+ std::string YToggleButton::getLabel();
//use Signal+<number parameters><void, param1,
param2> functionname
SigC::Signal0<void> buttonPressed;
Logged In: NO
sorry the patch should be:
--- libYc++/Y/c++/objects/ytogglebutton.h~ 2006-04-08
08:52:41.000000000 +0800
+++ libYc++/Y/c++/objects/ytogglebutton.h 2006-04-08
09:25:27.000000000 +0800
@@ -38,8 +38,8 @@
YToggleButton (Y::Connection *y, std::string t);
virtual ~YToggleButton ();
- bool YToggleButton::getIsPressed();
- std::string YToggleButton::getLabel();
+ bool getIsPressed();
+ std::string getLabel();
//use Signal+<number parameters><void, param1, param2>
functionname
SigC::Signal0<void> buttonPressed;