diff options
-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' { |