diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-05 15:41:58 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-07-05 15:41:58 +0300 |
commit | 5c33d1b7380436104053d93cbff98eef88fb4f1b (patch) | |
tree | 866b1af5de5ab1ab4ae87bf62998fd11dff5db9d /libicuio/libicuio | |
parent | c0340c47b071adcad155a41d568e3b7fc3aa4c49 (diff) |
Release version 65.1.0+8v65.1.0+8
Suppress some Clang and MSVC warnings.
Fix dist operation 'multiple files are distributed as ...' warning.
Diffstat (limited to 'libicuio/libicuio')
-rw-r--r-- | libicuio/libicuio/buildfile | 10 |
1 files changed, 10 insertions, 0 deletions
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. |