]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Unfortunately, we need to disable this warnings also for the header files.
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Sep 2012 10:14:33 +0000 (10:14 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Sep 2012 10:14:33 +0000 (10:14 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26498 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/cmake/configure/configure_1_tbb.cmake
deal.II/contrib/tbb/tbb30_104oss/src/CMakeLists.txt

index 72041b0d43afd5461c76604ac4f9ebfbc571aa31..4cd93ee4a9b1edd8356d49ce090da2e5ed191829 100644 (file)
@@ -130,6 +130,14 @@ MACRO(FEATURE_TBB_CONFIGURE_CONTRIB var)
   # and if successfull return TRUE:
   SETUP_THREADING(${var})
 
+
+  #
+  # We have to disable a bunch of warnings:
+  #
+  ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-parentheses")
+  ENABLE_IF_SUPPORTED(CMAKE_CXX_FLAGS "-Wno-long-long")
+
+
   INCLUDE_DIRECTORIES(
     ${CMAKE_SOURCE_DIR}/contrib/tbb/tbb30_104oss/include
     )
index 2463583a3e726c0ec564354a8de05658765bcc16..df41682ec51c8b6b403059b59defbd1c97ae4510 100644 (file)
@@ -68,14 +68,6 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows")
   ADD_FLAGS(obj_tbb_COMPILE_FLAGS "-DUSE_WINTHREAD")
 ENDIF()
 
-
-#
-# We have to disable a bunch of warnings:
-#
-ENABLE_IF_SUPPORTED(obj_tbb_COMPILE_FLAGS "-Wno-parentheses")
-ENABLE_IF_SUPPORTED(obj_tbb_COMPILE_FLAGS "-Wno-long-long")
-
-
 SET_TARGET_PROPERTIES(obj_tbb PROPERTIES
   COMPILE_FLAGS ${obj_tbb_COMPILE_FLAGS})
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.