[MacPorts] #37664: gcc46, gcc47 @4.7.2 'init_priority' attribute is not supported on this platform

MacPorts noreply at macports.org
Thu Jan 17 08:36:15 PST 2013


#37664: gcc46, gcc47 @4.7.2 'init_priority' attribute is not supported on this
platform
--------------------------+----------------------
  Reporter:  ilg@…        |      Owner:  mww@…
      Type:  defect       |     Status:  reopened
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:               |   Keywords:
      Port:  gcc46 gcc47  |
--------------------------+----------------------

Comment (by ilg@…):

 Replying to [comment:12 ilg@…]:
 > (it might not be necessary to explicitly use clang, I don't know now,
 but I can find out in about one hour)

 I confirm it, the init_priority() and constructor() attributes are
 functional even without explicitly compiling with clang, just patch the
 prehistoric darwin.h and the rest is done by the system.

 As of now I did it only for 4.7, but I expect 4.6 to work as well.


 Liviu

-- 
Ticket URL: <https://trac.macports.org/ticket/37664#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list