changeset 58736:e878a0b7cff0 ihse-cflags-rewrite-branch

Add doubunder on solaris in two places.
author ihse
date Tue, 22 Oct 2019 09:51:52 +0200
parents c4be316c3df4
children
files make/common/TestFilesCompilation.gmk make/lib/Awt2dLibraries.gmk
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/TestFilesCompilation.gmk	Tue Oct 22 08:51:18 2019 +0200
+++ b/make/common/TestFilesCompilation.gmk	Tue Oct 22 09:51:52 2019 +0200
@@ -98,7 +98,7 @@
         DISABLED_WARNINGS_gcc := format undef unused-function unused-value, \
         DISABLED_WARNINGS_clang := undef format-nonliteral \
             missing-field-initializers sometimes-uninitialized, \
-        DISABLED_WARNINGS_CXX_solstudio := wvarhidenmem, \
+        DISABLED_WARNINGS_CXX_solstudio := wvarhidenmem doubunder, \
         LIBS := $$($1_LIBS_$$(name)), \
         TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
         OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
--- a/make/lib/Awt2dLibraries.gmk	Tue Oct 22 08:51:18 2019 +0200
+++ b/make/lib/Awt2dLibraries.gmk	Tue Oct 22 09:51:52 2019 +0200
@@ -619,7 +619,8 @@
         E_ENUM_VAL_OVERFLOWS_INT_MAX, \
     DISABLED_WARNINGS_CXX_solstudio := \
         truncwarn wvarhidenmem wvarhidemem wbadlkginit identexpected \
-        hidevf w_novirtualdescr arrowrtn2 refmemnoconstr_aggr unknownpragma, \
+        hidevf w_novirtualdescr arrowrtn2 refmemnoconstr_aggr unknownpragma \
+        doubunder wunreachable, \
     DISABLED_WARNINGS_microsoft := 4267 4244 4018 4090 4996 4146 4334 4819 4101 4068 4805 4138, \
     LDFLAGS := $(subst -Xlinker -z -Xlinker defs,, \
         $(subst -Wl$(COMMA)-z$(COMMA)defs,,$(LDFLAGS_JDKLIB))) $(LDFLAGS_CXX_JDK) \