Skip to content

Commit

Permalink
Merge pull request #79 from kbenzie/benie/always-Wno-maybe-uninitialized
Browse files Browse the repository at this point in the history
[cmake] Continue to disable -Wmaybe-uninitialized
  • Loading branch information
frasercrmck authored Aug 14, 2023
2 parents a8d487b + 04acaa6 commit 8ad8e61
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cmake/AddCA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,11 @@ set(CA_COMPILE_OPTIONS
-Wno-redundant-move
-Wno-pessimizing-move
>
$<$<AND:$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,10>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,12.3>>:
$<$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,10>:
# GCC has become awful complainy about passing the address of an
# uninitialized variable to another function which performs the
# initialization itself
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 is targeted for 11.4.
# If this update proves inadequate, update the above version
# initialization itself, reconsider disabling this warning if
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96564 is addressed.
-Wno-maybe-uninitialized
>
>
Expand Down

0 comments on commit 8ad8e61

Please sign in to comment.