]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix <iosfwd> synopsis test
authorJonathan Wakely <jwakely@redhat.com>
Mon, 3 Jul 2023 18:33:18 +0000 (19:33 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 3 Jul 2023 23:05:53 +0000 (00:05 +0100)
commitf9f05e483984bf89fec7778aaa55ece8ba2a86bb
tree3e2725be647505ccc13be60982644293996b5fd2
parent8bef8e713fd5f17c5dee45d9bb7ffca3cf3c0f9d
libstdc++: Fix <iosfwd> synopsis test

The <syncstream> header is only supported for the cxx11 ABI. The
declarations of basic_syncbuf, basic_osyncstream, syncbuf and
osyncstream were already correctly guarded by a check for
_GLIBCXX_USE_CXX11_ABI, but the wsyncbuf and wosyncstream declarations
were not.

libstdc++-v3/ChangeLog:

* testsuite/27_io/headers/iosfwd/synopsis.cc: Make wsyncbuf and
wosyncstream depend on _GLIBCXX_USE_CXX11_ABI.
libstdc++-v3/testsuite/27_io/headers/iosfwd/synopsis.cc