Commit: ff7d74235023d0c927c0ad3f4d72d1c5dd41b240
Author: Sebastian Parborg
Date:   Wed Sep 2 21:06:02 2020 +0200
Branches: master
https://developer.blender.org/rBff7d74235023d0c927c0ad3f4d72d1c5dd41b240

Quiet all warnings when building Bullet

===================================================================

M       extern/bullet2/CMakeLists.txt

===================================================================

diff --git a/extern/bullet2/CMakeLists.txt b/extern/bullet2/CMakeLists.txt
index 648442e1bd9..2c63d76296c 100644
--- a/extern/bullet2/CMakeLists.txt
+++ b/extern/bullet2/CMakeLists.txt
@@ -20,11 +20,8 @@
 
 # avoid noisy warnings
 if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
-  add_c_flag(
-    "-Wno-unused-result -Wno-unused-variable -Wno-unused-but-set-variable 
-Wno-reorder"
-  )
   remove_cc_flag(
-    "-Wmissing-declarations"
+    "-Wall"
   )
 endif()

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to