diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-03-31 21:58:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-03-31 22:17:05 +0300 |
commit | 37b5323817352262f4e6212abca231c1c5f5d6c8 (patch) | |
tree | c6d984a595dee2a56ab03f1169b389c8ca48aded | |
parent | df542d43c5cdc62a324a87c47630bc76a932db86 (diff) |
Disable GCC -Wall and -Wno-extra warnings for curl
-rw-r--r-- | curl/curl/buildfile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/curl/curl/buildfile b/curl/curl/buildfile index 7b88ae7..3bff067 100644 --- a/curl/curl/buildfile +++ b/curl/curl/buildfile @@ -32,10 +32,12 @@ switch $c.class, $tsys { case 'gcc' { - # Disable the Clang targeting MSVC warnings. + # Disable warnings that pop up with -Wall -Wextra. Upstream doesn't seem + # to care about these and it is not easy to disable specific warnings in a + # way that works across compilers/version (some -Wno-* options are only + # recognized in newer versions). # - if ($c.id == 'clang' && $tsys == 'win32-msvc') - c.coptions += -Wno-deprecated-declarations + c.coptions += -Wno-all -Wno-extra -Wno-deprecated-declarations } case 'msvc' { |