Skip to content

Commit

Permalink
Make maybe-uninitialized no warn in Ason
Browse files Browse the repository at this point in the history
GCC is flase positive wanring on this in Anan mode.
  • Loading branch information
steve-downey committed Oct 12, 2024
1 parent 9c35782 commit 467bdb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/gcc-15-toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/gcc-flags.cmake")

set(CMAKE_C_COMPILER gcc-15)
set(CMAKE_CXX_COMPILER g++-15)

set(CMAKE_CXX_FLAGS_ASAN
"${CMAKE_CXX_FLAGS_ASAN} -Wno-maybe-uninitialized"
CACHE STRING "C++ ASAN Flags" FORCE)

0 comments on commit 467bdb2

Please sign in to comment.