[MacPorts] #61208: aalib: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' (was: aalib failure to build: warning: unsequenced modification and access to 'p1')
MacPorts
noreply at macports.org
Tue Sep 22 07:21:05 UTC 2020
#61208: aalib: error: implicitly declaring library function 'exit' with type 'void
(int) __attribute__((noreturn))'
---------------------------+------------------------
Reporter: chicagotripp | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: aalib |
---------------------------+------------------------
Changes (by ryandesign):
* status: new => accepted
* owner: (none) => ryandesign
Comment:
The relevant error in the log is:
{{{
:info:build aainfo.c:12:2: error: implicitly declaring library function
'exit' with type 'void (int) __attribute__((noreturn))' [-Werror
,-Wimplicit-function-declaration]
:info:build exit(1);
:info:build ^
:info:build aainfo.c:12:2: note: include the header <stdlib.h> or
explicitly provide a declaration for 'exit'
:info:build 1 error generated.
}}}
Implicitly declared functions are a new error in Xcode 12 that we're
working our way through fixing. For Catalina you could avoid the problem
by downgrading to Xcode 11 but for Big Sur you don't have that option and
have to wait until it's fixed.
--
Ticket URL: <https://trac.macports.org/ticket/61208#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list