[libcxx-commits] [libcxx] [llvm] [libc++] Get the GCC build mostly clean of warnings (PR #96604)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jun 25 07:49:46 PDT 2024
================
@@ -18,7 +18,7 @@
#define ATOMIC_FLAG_INIT {false}
#define ATOMIC_VAR_INIT(__v) {__v}
-#if _LIBCPP_STD_VER >= 20 && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
+#if _LIBCPP_STD_VER >= 20 && defined(_LIBCPP_COMPILER_CLANG_BASED) && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
----------------
philnik777 wrote:
This suppresses a `-Wunknown-pragma`.
https://github.com/llvm/llvm-project/pull/96604
More information about the libcxx-commits
mailing list