summaryrefslogtreecommitdiff
path: root/libcurl/libcurl/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-08-15 15:37:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-08-15 19:06:43 +0300
commit9b227f325a2318f3e9c2db798ec7c592133a2f2d (patch)
treeb03cd9aa8ceaf0a371e590d5b90ff9dd9aa0927a /libcurl/libcurl/buildfile
parent06509a8ab079df9838adec9c6b2beb1ff5a9a202 (diff)
Disable treating warnings as errors in libcurl's buildfile
Diffstat (limited to 'libcurl/libcurl/buildfile')
-rw-r--r--libcurl/libcurl/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcurl/libcurl/buildfile b/libcurl/libcurl/buildfile
index a8411d0..cdae37c 100644
--- a/libcurl/libcurl/buildfile
+++ b/libcurl/libcurl/buildfile
@@ -91,9 +91,11 @@ switch $c.class
# 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).
+ # recognized in newer versions). There are still some warnings left that
+ # appear for certain platforms/compilers. We pass them through but disable
+ # treating them as errors.
#
- c.coptions += -Wno-all -Wno-extra -Wno-deprecated-declarations
+ c.coptions += -Wno-all -Wno-extra -Wno-deprecated-declarations -Wno-error
}
case 'msvc'
{