[MacPorts] #68959: cook fails to build: error: redefinition of 'iswprint' etc.
MacPorts
noreply at macports.org
Fri Dec 22 17:27:36 UTC 2023
#68959: cook fails to build: error: redefinition of 'iswprint' etc.
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: sonoma | Port: cook
--------------------------+--------------------
{{{
:info:build /usr/bin/clang -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
-I. -c common/ac/wctype.c
:info:build common/ac/wctype.c:39:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswprint(wc)
:info:build ^
:info:build common/ac/wctype.c:39:1: error: redefinition of 'iswprint'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:93:1:
note: previous definition is here
:info:build iswprint(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:59:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswspace(wc)
:info:build ^
:info:build common/ac/wctype.c:59:1: error: redefinition of 'iswspace'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:105:1:
note: previous definition is here
:info:build iswspace(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:79:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswpunct(wc)
:info:build ^
:info:build common/ac/wctype.c:79:1: error: redefinition of 'iswpunct'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:99:1:
note: previous definition is here
:info:build iswpunct(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:99:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswupper(wc)
:info:build ^
:info:build common/ac/wctype.c:99:1: error: redefinition of 'iswupper'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:111:1:
note: previous definition is here
:info:build iswupper(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:113:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswlower(wc)
:info:build ^
:info:build common/ac/wctype.c:113:1: error: redefinition of 'iswlower'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:87:1:
note: previous definition is here
:info:build iswlower(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:127:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswdigit(wc)
:info:build ^
:info:build common/ac/wctype.c:127:1: error: redefinition of 'iswdigit'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:75:1:
note: previous definition is here
:info:build iswdigit(wint_t _wc)
:info:build ^
:info:build common/ac/wctype.c:141:1: warning: a function definition
without a prototype is deprecated in all versions of C and is not
supported in C2x [-Wdeprecated-non-prototype]
:info:build iswalnum(wc)
:info:build ^
:info:build common/ac/wctype.c:141:1: error: redefinition of 'iswalnum'
:info:build
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/_wctype.h:51:1:
note: previous definition is here
:info:build iswalnum(wint_t _wc)
:info:build ^
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68959>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list