summaryrefslogtreecommitdiff
path: root/libicuio/libicuio
diff options
context:
space:
mode:
Diffstat (limited to 'libicuio/libicuio')
-rw-r--r--libicuio/libicuio/buildfile10
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.