Merge pull request #117 from phprus/gcc-libstdcxx-version

libstdc++ version check.
This commit is contained in:
gulrak 2021-04-26 18:43:57 +02:00 committed by GitHub
commit 134dffdcbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,7 +406,7 @@ TEST_CASE("fs.path.construct - path constructors and destructor", "[filesystem][
CHECK("//host/foo/bar" == fs::path("//host/foo/bar"));
}
#if !defined(GHC_OS_WINDOWS) && !(defined(GCC_VERSION) && GCC_VERSION < 80100) && !defined(USE_STD_FS)
#if !defined(GHC_OS_WINDOWS) && !(defined(__GLIBCXX__) && !(defined(_GLIBCXX_RELEASE) && (_GLIBCXX_RELEASE >= 8))) && !defined(USE_STD_FS)
std::locale loc;
bool testUTF8Locale = false;
try {