aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2022-02-03 15:57:32 +0000
committerOlivier Hainque <hainque@adacore.com>2022-10-02 09:13:14 +0000
commit372044a67ec8346f4f308c5fe79d9e1cb6e7e6c6 (patch)
tree5fa26cf78af7ce38c3e05c67d9df80e3da0a6a5e /gcc
parent6ed7eee30f4c5e7a4ae0119bbc93a1487751cbc7 (diff)
downloadgcc-372044a67ec8346f4f308c5fe79d9e1cb6e7e6c6.zip
gcc-372044a67ec8346f4f308c5fe79d9e1cb6e7e6c6.tar.gz
gcc-372044a67ec8346f4f308c5fe79d9e1cb6e7e6c6.tar.bz2
Prevent secondary warning from diagnostic tweak in gthr-vxworks.h
Within gthr-vxworks.h, we prevent C++ errors from missing declarations in some system headers by prepending their inclusion with a #pragma GCC diagnostic ignored "-Wstrict-prototypes" But Wstrict-prototypes is internally registered as valid for C/ObjC only, not C++, and this trick in turn triggers a Wpragma warning with -Wsystem-headers. This change just arranges to ignore the secondary warning locally. 2021-02-03 Olivier Hainque <hainque@adacore.com> * config/gthr-vxworks.h: Prevent Wpragma warning for the pragma diagnostics on Wstrict-prototypes.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions