[MacPorts] #37151: bahamut: build fails with clang; build system doesn't notice; proceeds to destroot, which fails
MacPorts
noreply at macports.org
Tue Nov 27 19:13:14 PST 2012
#37151: bahamut: build fails with clang; build system doesn't notice; proceeds to
destroot, which fails
-------------------------------+--------------------------
Reporter: preston.sumner@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: fixed | Keywords: clang
Port: bahamut |
-------------------------------+--------------------------
Comment (by jmr@…):
Clang just happens to default to C99 mode. Building with `gcc -std=c99`
would fail in the same way. You could equally validly tell clang that the
code requires gnu89 semantics with -std=gnu89, rather than patching the
code to work as C99. (The latter would be the better approach for upstream
to adopt in the long run, of course.)
--
Ticket URL: <https://trac.macports.org/ticket/37151#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list