diff options
| author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-10-04 09:40:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-04 09:40:38 +0200 |
| commit | 03ad43069924efbe11713f99ce43f6dad81da744 (patch) | |
| tree | 87e866d42c3ab6975341aa7839ddd93e22225d84 /cmake | |
| parent | d186c34385df480988aab2a388c8889b9371c6c2 (diff) | |
| parent | d3acac16e664b5b36d5f7eb0c857bb400fdbdac8 (diff) | |
| download | PrismLauncher-03ad43069924efbe11713f99ce43f6dad81da744.tar.gz PrismLauncher-03ad43069924efbe11713f99ce43f6dad81da744.tar.bz2 PrismLauncher-03ad43069924efbe11713f99ce43f6dad81da744.zip | |
Merge pull request #1537 from Trial97/warnings
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/CompilerWarnings.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/CompilerWarnings.cmake b/cmake/CompilerWarnings.cmake index 69e57b4d..c9962c44 100644 --- a/cmake/CompilerWarnings.cmake +++ b/cmake/CompilerWarnings.cmake @@ -89,6 +89,10 @@ function( -Wdouble-promotion # warn if float is implicit promoted to double -Wformat=2 # warn on security issues around functions that format output (ie printf) -Wimplicit-fallthrough # warn on statements that fallthrough without an explicit annotation + # -Wgnu-zero-variadic-macro-arguments (part of -pedantic) is triggered by every qCDebug() call and therefore results + # in a lot of noise. This warning is only notifying us that clang is emulating the GCC behaviour + # instead of the exact standard wording so we can safely ignore it + -Wno-gnu-zero-variadic-macro-arguments ) endif() |
