[MacPorts] #72428: legacy-support header error with C90: LegacySupport/dirent.h: error: expected '; ' before 'int'

MacPorts noreply at macports.org
Thu May 8 05:56:18 UTC 2025


#72428: legacy-support header error with C90: LegacySupport/dirent.h: error:
expected ';' before 'int'
-----------------------------+--------------------
  Reporter:  barracuda156    |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  legacy-support  |    Version:  2.10.5
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------

Comment (by fhgwright):

 FYI, it turns out that no Xcode compiler earlier than Xcode 5 accepts
 `-std=c90`, though all the MacPorts compilers do.  But they all accept
 `-std=c89`, which is more honest, anyway.

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


More information about the macports-tickets mailing list