[libcxx-commits] [PATCH] D119140: [libc++] Disable -Wattributes in GCC

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 7 11:00:19 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0e7d7fe9122c: [libc++] Disable -Wattributes in GCC (authored by philnik).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119140/new/

https://reviews.llvm.org/D119140

Files:
  libcxx/CMakeLists.txt


Index: libcxx/CMakeLists.txt
===================================================================
--- libcxx/CMakeLists.txt
+++ libcxx/CMakeLists.txt
@@ -623,6 +623,7 @@
     endif()
   elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
     target_add_compile_flags_if_supported(${target} PRIVATE
+      -Wno-attributes
       -Wno-literal-suffix
       -Wno-c++14-compat
       -Wno-noexcept-type


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119140.406527.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220207/c24e729c/attachment.bin>


More information about the libcxx-commits mailing list