[MacPorts] #57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because 'for' loop initial declaration used outside C99 mode

MacPorts noreply at macports.org
Tue Jan 29 10:51:54 UTC 2019


#57606: nss @3.40 does not build on PPC Tiger, Mac OS X 10.4.11, with HFSX because
'for' loop initial declaration used outside C99 mode
------------------------+------------------------
  Reporter:  ballapete  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:  tiger
      Port:  nss        |
------------------------+------------------------
Changes (by ryandesign):

 * owner:  (none) => ryandesign
 * status:  new => accepted


Comment:

 Duplicate #57971 says using `-std=c99` worked, but that surprises me. As
 Ken pointed out above, the port blacklists compilers that don't understand
 `-std=c++0x`. No compiler on Tiger understands c++0x, which leads to the
 message `All compilers are either blacklisted or unavailable; defaulting
 to first fallback option`. So either the software no longer requires c++0x
 and we should remove that blacklisting and add `-std=c99` and inform the
 developers of that, or the software still does require c++0x in which case
 we should remove the custom blacklisting and use the cxx11 1.1 portgroup.
 I will investigate.

-- 
Ticket URL: <https://trac.macports.org/ticket/57606#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list