[MacPorts] #44605: gpsim @0.26.1_1: addition of default argument on redeclaration makes this constructor a default constructor (was: gpsim @0.26.1_1 - build failure)

MacPorts noreply at macports.org
Mon Aug 11 20:49:43 PDT 2014


#44605: gpsim @0.26.1_1: addition of default argument on redeclaration makes this
constructor a default constructor
-------------------------+--------------------------------
  Reporter:  silverdr@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.1
Resolution:              |   Keywords:
      Port:  gpsim       |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 The log shows this error:

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

 That's the same error I get, and which I
 [http://sourceforge.net/p/gpsim/bugs/177/ reported to the developers], and
 which they say is already fixed in their sources, though they have not yet
 released a new version containing that fix and they didn't tell me what
 specific revision in their repository would fix it. It might be
 [http://sourceforge.net/p/gpsim/code/2247/ this change].

-- 
Ticket URL: <https://trac.macports.org/ticket/44605#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list