[libcxx] r249939 - Turn off -pedantic by default when building due to #include_next. :-(
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 9 20:34:52 PDT 2015
Author: ericwf
Date: Fri Oct 9 22:34:52 2015
New Revision: 249939
URL: http://llvm.org/viewvc/llvm-project?rev=249939&view=rev
Log:
Turn off -pedantic by default when building due to #include_next. :-(
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=249939&r1=249938&r2=249939&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Fri Oct 9 22:34:52 2015
@@ -89,7 +89,9 @@ option(LIBCXX_ENABLE_MONOTONIC_CLOCK
This option may only be set to OFF when LIBCXX_ENABLE_THREADS=OFF." ON)
# Misc options ----------------------------------------------------------------
-option(LIBCXX_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
+# FIXME: Turn -pedantic back ON. It is currently off because it warns
+# about #include_next which is used everywhere.
+option(LIBCXX_ENABLE_PEDANTIC "Compile with pedantic enabled." OFF)
option(LIBCXX_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)
option(LIBCXX_GENERATE_COVERAGE "Enable generating code coverage." OFF)
More information about the cfe-commits
mailing list