#177 Build failure with newer clang compiler

None
closed-duplicate
nobody
None
5
2014-08-26
2014-08-11
Ryan Schmidt
No

gpsim 0.27.0 fails to build on OS X with newer clang compilers:

switch.cc:585:30: error: addition of default argument on redeclaration makes this constructor a default constructor
  Switch::Switch(const char *_new_name=0)
                             ^         ~
./switch.h:91:5: note: previous declaration is here
    Switch(const char *_name);
    ^
1 error generated.

Discussion


  • Anonymous
    2014-08-26

    Which revision(s) would I need to backport to 0.27.0 to fix this? Alternately, will a new version including this fix be released soon? 0.27.0 was released over a year ago.

     


Anonymous


Cancel   Add attachments