[MacPorts] #48986: libbonoboui @2.24.5; error: control may reach end of non-void function

MacPorts noreply at macports.org
Sat Oct 3 13:30:10 PDT 2015


#48986: libbonoboui @2.24.5; error: control may reach end of non-void function
--------------------------+--------------------------------
  Reporter:  rlgarris@…   |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:
      Port:  libbonoboui  |
--------------------------+--------------------------------

Comment (by matt@…):

 I ran into the same issue. The compilation failure happens if both of
 these macros are disabled. Since there's no block after the else, it
 thinks the "return id" is the else's statement. I'm not sure if it's
 functionally correct, but syntactically, the patch I attached addresses
 the compilation issue. I imagine there's a missing branch for the Quartz
 case.

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


More information about the macports-tickets mailing list