[MacPorts] #61965: dap @3.7_0: implicit declaration of function 'dap_main' is invalid in C99
MacPorts
noreply at macports.org
Fri Jan 1 18:25:17 UTC 2021
#61965: dap @3.7_0: implicit declaration of function 'dap_main' is invalid in C99
--------------------------+--------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur | Port: dap
--------------------------+--------------------
{{{
:info:build dapruns.c:211:7: error: implicitly declaring library function
'strcat' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-
function-declaration]
:info:build strcat(name, suff);
:info:build ^
:info:build dapruns.c:211:7: note: include the header <string.h> or
explicitly provide a declaration for 'strcat'
:info:build ^
:info:build prob.c:283:8: warning: 'finite' is deprecated: first
deprecated in macOS 10.9 - Use `isfinite((double)x)` instead.
[-Wdeprecated-declarations]
:info:build if (!finite(z))
:info:build ^dappp.c:642:17: error: implicitly declaring library
function 'strlen' with type 'unsigned long (const char *)' [-Werror
,-Wimplicit-function-declaration]
:info:build namelen = strlen(*argv);
:info:build ^
:info:build dappp.c:642:17: note: include the header <string.h> or
explicitly provide a declaration for 'strlen'
}}}
{{{
:info:build ps1.c:904:29: error: implicit declaration of function 'dap_il'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build dap_vd("pict_npts 0", 0); dap_il("pict_npts", &pict_npts);
:info:build ^
}}}
{{{
:info:build ps1.c:905:29: error: implicit declaration of function 'dap_sl'
is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build ptesti = (int *) &testd; /* *ptesti is the low order word of
testd */ dap_vd("pict_type 5", 0); dap_sl("pict_type", pict_type);
:info:build ^
:info:build ^ ~~~~~~~~~~~~~~
:info:build dap0.c:238:3: error: implicit declaration of function
'dap_main' is invalid in C99 [-Werror,-Wimplicit-function-
declaration]ps1.c:906:30:
:info:build error dap_main(argc, argv);
:info:build ^
:info:build : implicit declaration of function 'dap_dl' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
:info:build dap_vd("pict_dash -1", 0); dap_dl("pict_dash", &pict_dash);
:info:build ^
}}}
This came up in reinstalling everything after moving to Big Sur
--
Ticket URL: <https://trac.macports.org/ticket/61965>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list