Opened 11 months ago
Last modified 11 months ago
#68959 new defect
cook fails to build: error: redefinition of 'iswprint' etc.
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | sonoma | Cc: | |
Port: | cook |
Description
: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 ^
Note: See
TracTickets for help on using
tickets.
Also fails on 10.6: