[MacPorts] #61145: libvterm @0.1.2:error: implicit declaration of function 'strdup' is invalid in C99
MacPorts
noreply at macports.org
Wed Sep 9 05:22:04 UTC 2020
#61145: libvterm @0.1.2:error: implicit declaration of function 'strdup' is invalid
in C99
------------------------+----------------------
Reporter: keke-cute | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.99
Resolution: | Keywords:
Port: libvterm |
------------------------+----------------------
Comment (by kencu):
I don't know... <https://man7.org/linux/man-pages/man3/strdup.3.html>
{{{
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
strdup():
_XOPEN_SOURCE >= 500
|| /* Since glibc 2.12: */ _POSIX_C_SOURCE >= 200809L
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE ||
_SVID_SOURCE
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61145#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list