From 9b227f325a2318f3e9c2db798ec7c592133a2f2d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 15 Aug 2022 15:37:27 +0300 Subject: Disable treating warnings as errors in libcurl's buildfile --- libcurl/libcurl/buildfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libcurl/libcurl/buildfile') 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' { -- cgit v1.1