From 5c33d1b7380436104053d93cbff98eef88fb4f1b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 5 Jul 2023 15:41:58 +0300 Subject: Release version 65.1.0+8 Suppress some Clang and MSVC warnings. Fix dist operation 'multiple files are distributed as ...' warning. --- libicuio/libicuio/buildfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libicuio/libicuio') diff --git a/libicuio/libicuio/buildfile b/libicuio/libicuio/buildfile index baab1c4..a400b40 100644 --- a/libicuio/libicuio/buildfile +++ b/libicuio/libicuio/buildfile @@ -49,8 +49,18 @@ obja{*}: cxx.poptions += -DU_STATIC_IMPLEMENTATION switch $cxx.class { case 'gcc' + { cxx.coptions += -fvisibility=hidden + # 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). There are still some warnings left that + # appear for certain platforms/compilers. We pass them through but disable + # treating them as errors. + # + cxx.coptions += -Wno-all -Wno-extra -Wno-error + } case 'msvc' cxx.coptions += /utf-8 /Zc:wchar_t /GF /Gy \ /wd4996 # Disable warnings that pop up with /W3. -- cgit v1.1