diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-28 14:01:41 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-29 11:46:26 -0600 |
commit | 830b3eb245d5dbcf095fbd4b5d59764c697c20df (patch) | |
tree | 5f853adde55aa5a30cfb5d0ecfb45b160b90f2f0 /perl.h | |
parent | 5cd61b66283b55e639490151d4e730a840ab13d5 (diff) | |
download | perl-830b3eb245d5dbcf095fbd4b5d59764c697c20df.tar.gz |
perl.h: Silence warning when compiled with C++
This silences a warning that the pragma it surrounds is not valid on
C++. We don't need to know that, and it clutters the compilation
output.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7483,6 +7483,7 @@ START_EXTERN_C */ /* The quadmath literals are anon structs which -Wc++-compat doesn't like. */ +GCC_DIAG_IGNORE_DECL(-Wpragmas); GCC_DIAG_IGNORE_DECL(-Wc++-compat); # ifdef USE_QUADMATH @@ -7554,6 +7555,7 @@ INFNAN_NV_U8_DECL PL_nan = { 0.0/0.0 }; /* keep last */ # endif GCC_DIAG_RESTORE_DECL; +GCC_DIAG_RESTORE_DECL; #else |