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 ++++-- libcurl/manifest | 2 +- 2 files changed, 5 insertions(+), 3 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' { diff --git a/libcurl/manifest b/libcurl/manifest index 06a0c11..8ae90ac 100644 --- a/libcurl/manifest +++ b/libcurl/manifest @@ -13,7 +13,7 @@ src-url: https://git.build2.org/cgit/packaging/curl/curl/tree/libcurl/ package-url: https://git.build2.org/cgit/packaging/curl/ email: curl-library@lists.haxx.se ; Mailing list. package-email: packaging@build2.org ; Mailing list. -build-warning-email: builds@build2.org +build-error-email: builds@build2.org builds: all builds: -wasm depends: * build2 >= 0.15.0 -- cgit v1.1