diff options
author | LDA <lda@ldasuku.net> | 2023-06-26 11:48:27 -0700 |
---|---|---|
committer | LDA <lda@ldasuku.net> | 2023-06-26 11:58:35 -0700 |
commit | c9e889723b7af832322d178975e6e440d6cd3ae5 (patch) | |
tree | a8429c30ecf46ed1388df13b614141e73973cd9f /source/CMakeLists.txt | |
parent | 4585c9cafa87cad6b54397af7e9375cc31b72f89 (diff) |
resolved most of the compiler warnings/errors under gcc
also update xxhash and tinyformat
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 1b65707..c990ad0 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -226,8 +226,8 @@ ENDIF () # Set C/C++ compiler flags based on build environment... IF (STAR_COMPILER_GNU) - SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wuninitialized -Wunreachable-code -Wformat -no-pie") - SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall -Wextra -Wuninitialized -Wunreachable-code -Wformat -no-pie") + SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused -Wno-implicit-fallthrough -no-pie") + SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -Wall -Wextra -Wno-unused -Wno-implicit-fallthrough -no-pie") IF (STAR_SYSTEM_FAMILY_WINDOWS) SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mthreads") |