Opened 11 years ago

Last modified 11 years ago

#41099 closed defect

libANN: error: C++ requires a type specifier for all declarations — at Version 1

Reported by: basmac Owned by: mnick@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc:
Port: libANN

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Clean Mavericks install with Xcode and CLI latest versions.
Made fine in 10.8.5
debug file attached

Change History (2)

Changed 11 years ago by basmac

Attachment: libANN.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mnick@… removed
Description: modified (diff)
Keywords: mavericks added; libANN removed
Owner: changed from macports-tickets@… to mnick@…
Summary: libANN fails to build MaverickslibANN: error: C++ requires a type specifier for all declarations

I see that the error here is:

ann2fig.cpp:583:1: error: C++ requires a type specifier for all declarations

Probably the reason we did not see this on previous versions of OS X is that because the port is not UsingTheRightCompiler (nor -arch flags, for that matter) it was not using clang until now.

Note: See TracTickets for help on using tickets.