Skip to content

Commit

Permalink
1. update annotations
Browse files Browse the repository at this point in the history
2. fix make warnings
  • Loading branch information
ayzk committed Sep 16, 2024
1 parent 7105dd7 commit 18b44fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ option(BUILD_SHARED_LIBS "build shared libraries by default" ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-reorder-ctor")
else() #-Wunused-parameter -Wsign-compare
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-sign-compare -Wno-unused-parameter -Wsuggest-override -Wold-style-cast -Wcast-qual -Wzero-as-null-pointer-constant -Wextra-semi -Wmissing-prototypes -Wnon-virtual-dtor -Wcast-align -Wunused-variable -Wnewline-eof -Wcomma")
endif()
set(default_build_type "Release")
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
Expand Down
2 changes: 1 addition & 1 deletion include/SZ3/utils/ska_hash/unordered_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,4 +885,4 @@ class unordered_set
};

} // end namespace ska
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop

0 comments on commit 18b44fa

Please sign in to comment.