Menu

#1 GCC 4.1 patch

closed
dustin
None
5
2006-04-13
2006-04-09
Anonymous
No

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;

Discussion

  • Nobody/Anonymous

    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;

     
  • dustin

    dustin - 2006-04-12
    • assigned_to: nobody --> dustismo
     
  • dustin

    dustin - 2006-04-13
    • status: open --> closed
     

Log in to post a comment.