[MacPorts] #72428: legacy-support header error with C90: LegacySupport/dirent.h: error: expected '; ' before 'int'
MacPorts
noreply at macports.org
Thu May 8 04:50: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 barracuda156):
Replying to [comment:8 fhgwright]:
> BTW, although `-std=c89` and `-std=c90` have the same effect in general
(including for this issue), GCC 4.2 understands `-std=c89` but not
`-std=c90`, making the latter a bad choice for old platforms.
Thank you, good to know. (Inconsequential for this particular port, since
it needs modern C++, and therefore cannot use Xcode gcc anyway.)
--
Ticket URL: <https://trac.macports.org/ticket/72428#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list