[MacPorts] #62390: argtable @2.13: error: implicitly declaring library function 'isspace'
MacPorts
noreply at macports.org
Fri Mar 5 02:52:33 UTC 2021
#62390: argtable @2.13: error: implicitly declaring library function 'isspace'
-----------------------------+----------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur catalina | Port: argtable
-----------------------------+----------------------
Another victim of `-Werror=implicit-function-declaration` being on by
default now:
{{{
arg_int.c:60:12: error: implicitly declaring library function 'isspace'
with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
while (isspace(*ptr))
^
arg_int.c:60:12: note: include the header <ctype.h> or explicitly provide
a declaration for 'isspace'
arg_int.c:89:8: error: implicitly declaring library function 'toupper'
with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
if (toupper(*ptr++)!=toupper(X))
^
arg_int.c:89:8: note: include the header <ctype.h> or explicitly provide a
declaration for 'toupper'
2 errors generated.
make[2]: *** [arg_int.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62390>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list