]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: testsuite: adjust name_fortify test for pre-defined _FORTIFY_SOURCE
authorSam James <sam@gentoo.org>
Sun, 13 Oct 2024 22:22:02 +0000 (23:22 +0100)
committerSam James <sam@gentoo.org>
Sun, 13 Oct 2024 22:22:11 +0000 (23:22 +0100)
commit90a4851b08270678352f4f53f86d94af78647499
tree4c9bb9ae9940c27c57b2baebbbd4e2bb5694728a
parent27f6b376e8e196c7c85c8b47436cd2f2993768da
libstdc++: testsuite: adjust name_fortify test for pre-defined _FORTIFY_SOURCE

Otherwise we get failures with toolchains that have _FORTIFY_SOURCE
defined already to a different value like 3.

libstdc++-v3/ChangeLog:

* testsuite/17_intro/names_fortify.cc: Undefine _FORTIFY_SOURCE.
libstdc++-v3/testsuite/17_intro/names_fortify.cc