diff options
author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2024-04-15 22:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 23:59:16 +0300 |
commit | 8f0c41c2e5d5c66df5e975b743140112494c4a7a (patch) | |
tree | 5e68853661791a0a90547417ae98dd8f7b5f2058 /indra/cmake/00-Common.cmake | |
parent | 295cff0fb5370f75749adf41a6c2d26c3431414c (diff) |
Chore/pragma gcc cleansweep (#1226)
* Remove all GCC warning suppression pragmas.
* For Linux just just raise(SIGSEGV) as the crash driver. This has a much higher chance of the compiler understanding out intent and figuring out we end the program here.
* Remove -Wno-stringop-overflow and -Wno-stringop-truncation from GCC_WARNINGS. After calling raise(SIGSEGV) as the crash driver I saw no issue with those warnings anymore
After removing thoses GCC pragmas there is also no need for clang -Wno-unknown-warning-option anymore.
* Remove CMakePresets from this PR.
* Remove Lindens from comments :)
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r-- | indra/cmake/00-Common.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake index d90a34bb6b..2b6129590c 100644 --- a/indra/cmake/00-Common.cmake +++ b/indra/cmake/00-Common.cmake @@ -159,13 +159,10 @@ if (LINUX) set(CLANG_WARNINGS ${GCC_CLANG_COMPATIBLE_WARNINGS} # Put clang specific warning configuration here - -Wno-unknown-warning-option ) set(GCC_WARNINGS ${GCC_CLANG_COMPATIBLE_WARNINGS} - -Wno-stringop-overflow - -Wno-stringop-truncation -Wno-dangling-pointer ) |