Branch: refs/heads/yves/hpux_build_warning_suppression
Home: https://github.com/Perl/perl5
Commit: 9a13a2aa299495019e202e9394b71f3043193a76
https://github.com/Perl/perl5/commit/9a13a2aa299495019e202e9394b71f3043193a76
Author: Yves Orton <[email protected]>
Date: 2023-03-23 (Thu, 23 Mar 2023)
Changed paths:
M dist/threads/lib/threads.pm
M dist/threads/threads.xs
Log Message:
-----------
dist/threads - use pure pragma form of CLANG_DIAG_IGNORE in threads.xs
Otherwise on HPUX we get warnings
"threads.xs", line 1057: warning #2111-D: statement is unreachable
CLANG_DIAG_IGNORE_STMT(-Wthread-safety);
Commit: d27f115fb570a13a37ff51b85a3d176a6b06b3e8
https://github.com/Perl/perl5/commit/d27f115fb570a13a37ff51b85a3d176a6b06b3e8
Author: Yves Orton <[email protected]>
Date: 2023-03-23 (Thu, 23 Mar 2023)
Changed paths:
M dist/threads-shared/lib/threads/shared.pm
M dist/threads-shared/shared.xs
Log Message:
-----------
threads-shared - use pure prgagma version of CLANG_DIAG_IGNORE
Otherwise HPUX complains about unreachable statements.
"shared.xs", line 707: warning #2111-D: statement is unreachable
CLANG_DIAG_RESTORE_STMT;
^
This version should do the same thing, the only difference being
it doesnt allow a semicolon on the macro call.
Compare: https://github.com/Perl/perl5/compare/204b7f376479...d27f115fb570