[MacPorts] #72428: legacy-support header error with C90: LegacySupport/dirent.h: error: expected '; ' before 'int'
MacPorts
noreply at macports.org
Tue May 20 22:32:45 UTC 2025
#72428: legacy-support header error with C90: LegacySupport/dirent.h: error:
expected ';' before 'int'
-----------------------------+-----------------------
Reporter: barracuda156 | Owner: fhgwright
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: legacy-support | Version: 2.10.5
Resolution: fixed | Keywords:
Port: |
-----------------------------+-----------------------
Changes (by fhgwright):
* status: new => closed
* owner: (none) => fhgwright
* resolution: => fixed
Comment:
In [changeset:"26f3cf75aa6a3d201beb5538dcc7389a801c694f/macports-legacy-
support" 26f3cf75aa6a3d201beb5538dcc7389a801c694f/macports-legacy-support]
(master):
{{{
#!ConfigurableCommitTicketReference repository="macports-legacy-support"
revision="26f3cf75aa6a3d201beb5538dcc7389a801c694f"
dirent.h: Fix build with C89/C90.
The 'inline' keyword isn't supported prior to C99, so '__inline__'
must be used for full compatibility.
Closes: https://trac.macports.org/ticket/72428
TESTED:
Now compiles with -std=c89 or -std-c90.
All tests build and pass, including the new allheaders tests.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72428#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list