[MacPorts] #41099: libANN: error: C++ requires a type specifier for all declarations

MacPorts noreply at macports.org
Fri Jan 3 15:50:22 PST 2014


#41099: libANN: error: C++ requires a type specifier for all declarations
--------------------------------+--------------------------------
  Reporter:  barry.j.mcinnes@…  |      Owner:  macports-tickets@…
      Type:  defect             |     Status:  closed
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.2.0
Resolution:  fixed              |   Keywords:  mavericks
      Port:  libANN             |
--------------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: zifu.wong@…, hielsber@…, ryandesign@… (added)
 * resolution:   => fixed


Comment:

 Replying to [comment:5 hielsber@…]:
 > I fixed this issue on my system by simply adding the return type int to
 the main definition at the bottom of
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_libANN/libANN/work/ann_1.1.2/ann2fig/ann2fig.cpp.
 The path may or may not be different on your system, but it is given in
 the log file in any case.

 Thanks. Fixed in r115518.

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


More information about the macports-tickets mailing list