Skip to content

Commit

Permalink
Merge pull request #144 from sloriot/ignore_maybe_deprecated_warning
Browse files Browse the repository at this point in the history
Add -Wno-maybe-uninitialized
  • Loading branch information
lrineau authored Sep 18, 2023
2 parents 3923ca1 + 86c44e6 commit f7fa571
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ArchLinux-CXX17-Release/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "-Wall -O3 -msse4.1 -std=gnu++17" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
2 changes: 1 addition & 1 deletion ArchLinux/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Fedora-32/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Fedora-Release/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -msse3 -fsanitize=address" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized -msse3 -fsanitize=address" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "-DCGAL_NDEBUG -O3" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
2 changes: 1 addition & 1 deletion Fedora-rawhide-Release/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "-DCGAL_NDEBUG -O3" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
2 changes: 1 addition & 1 deletion Fedora-rawhide/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Fedora-with-LEDA/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "-DCGAL_NDEBUG -O3" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Fedora/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-Wall -frounding-math -Wno-dangling-reference -Wno-maybe-uninitialized" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Ubuntu-GCC6-CXX1Z/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wextra -Wno-dangling-reference -std=c++1z -frounding-math" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wextra -Wno-dangling-reference -Wno-maybe-uninitialized -std=c++1z -frounding-math" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Ubuntu-GCC6/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wno-dangling-reference -Wno-expansion-to-defined -frounding-math" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wno-dangling-reference -Wno-maybe-uninitialized -Wno-expansion-to-defined -frounding-math" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
Expand Down
2 changes: 1 addition & 1 deletion Ubuntu-GCC_master_cpp20-Release/init.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wextra -Wno-dangling-reference -frounding-math -std=c++2a" CACHE STRING "")
SET(CMAKE_CXX_FLAGS "-DDONT_USE_BOOST_PROGRAM_OPTIONS -Wall -Wextra -Wno-dangling-reference -Wno-maybe-uninitialized -frounding-math -std=c++2a" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_DEBUG "" CACHE STRING "")
SET(CMAKE_CXX_FLAGS_RELEASE "-DCGAL_NDEBUG -O3" CACHE STRING "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")
Expand Down

0 comments on commit f7fa571

Please sign in to comment.