]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: guard c++config pragmas
authorJason Merrill <jason@redhat.com>
Sat, 21 Sep 2024 17:30:31 +0000 (13:30 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 23 Sep 2024 14:53:01 +0000 (10:53 -0400)
commit358db2e3ed4acf44282d1d9ebbc4a1a3b6e38d21
treecd008911f03f740db6aed0d64fe5a18129c9eb1b
parent2620e3727d9559ec03f9f967ecb68ed2e076a342
libstdc++: guard c++config pragmas

c++config needs to be compilable as C, in which mode we complain about the
-Wc++ pragmas.

libstdc++-v3/ChangeLog:

* include/bits/c++config: Don't try to disable -Wc++??-extensions
when compiling as C.
libstdc++-v3/include/bits/c++config