Subject: | Bug #119529 fix breaks builds on macOS Sierra |
Date: | Tue, 7 Mar 2017 10:12:21 +0100 |
To: | bug-threads-shared [...] rt.cpan.org |
From: | Gintautas Grigelionis <g.grigelionis [...] gmail.com> |
cc -c -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN
-fno-strict-aliasing -fstack-protector -Os -DVERSION=\"1.55\"
-DXS_VERSION=\"1.55\"
"-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE"
-DHAS_PPPORT_H shared.c
shared.xs:660:5: warning: implicit declaration of function
'CLANG_DIAG_IGNORE' is invalid in C99 [-Wimplicit-function-declaration]
CLANG_DIAG_IGNORE(-Wthread-safety);
^
shared.xs:660:24: error: use of undeclared identifier 'Wthread'
CLANG_DIAG_IGNORE(-Wthread-safety);
^
shared.xs:660:32: error: use of undeclared identifier 'safety'
CLANG_DIAG_IGNORE(-Wthread-safety);
^
shared.xs:667:1: error: use of undeclared identifier 'CLANG_DIAG_RESTORE';
did you mean 'CLANG_DIAG_IGNORE'?
CLANG_DIAG_RESTORE;
^~~~~~~~~~~~~~~~~~
CLANG_DIAG_IGNORE
shared.xs:660:5: note: 'CLANG_DIAG_IGNORE' declared here
CLANG_DIAG_IGNORE(-Wthread-safety);
^
shared.xs:667:1: warning: expression result unused [-Wunused-value]
CLANG_DIAG_RESTORE;
^~~~~~~~~~~~~~~~~~
2 warnings and 3 errors generated.
make: *** [shared.o] Error 1