# HG changeset patch # User ihse # Date 1520064841 -3600 # Node ID 97746cb303aa94b1086496e3b111420696db3458 # Parent 63294a64cc2e3c27b624f4dddb04bf20e67a1d46 Do not always disable doubunder. diff -r 63294a64cc2e -r 97746cb303aa make/autoconf/flags-cflags.m4 --- a/make/autoconf/flags-cflags.m4 Sat Mar 03 08:33:51 2018 +0100 +++ b/make/autoconf/flags-cflags.m4 Sat Mar 03 09:14:01 2018 +0100 @@ -194,7 +194,7 @@ WARNINGS_ENABLE_ALL_CXXFLAGS="+w +w2" DISABLED_WARNINGS_C="E_OLD_STYLE_FUNC_DECL E_OLD_STYLE_FUNC_DEF E_SEMANTICS_OF_OP_CHG_IN_ANSI_C E_NO_REPLACEMENT_IN_STRING" - DISABLED_WARNINGS_CXX="inllargeuse doubunder notused wemptydecl wunreachable" + DISABLED_WARNINGS_CXX="inllargeuse notused wemptydecl wunreachable" ;; gcc) # Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error diff -r 63294a64cc2e -r 97746cb303aa make/hotspot/lib/CompileDtracePostJvm.gmk --- a/make/hotspot/lib/CompileDtracePostJvm.gmk Sat Mar 03 08:33:51 2018 +0100 +++ b/make/hotspot/lib/CompileDtracePostJvm.gmk Sat Mar 03 09:14:01 2018 +0100 @@ -53,7 +53,7 @@ LDFLAGS := -m64, \ CFLAGS := -m64 $(JVM_CFLAGS), \ DISABLED_WARNINGS_solstudio := hidef nokeyworddefine unknownpragma \ - w_novirtualdescr, \ + w_novirtualdescr doubunder, \ OBJECT_DIR := $(JVM_VARIANT_OUTPUTDIR)/tools/dtrace-gen-offsets/objs, \ OUTPUT_DIR := $(JVM_VARIANT_OUTPUTDIR)/tools/dtrace-gen-offsets, \ )) diff -r 63294a64cc2e -r 97746cb303aa make/hotspot/lib/CompileGtest.gmk --- a/make/hotspot/lib/CompileGtest.gmk Sat Mar 03 08:33:51 2018 +0100 +++ b/make/hotspot/lib/CompileGtest.gmk Sat Mar 03 09:14:01 2018 +0100 @@ -88,7 +88,8 @@ tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \ DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \ nokeyworddefine notemsource unknownpragma w_enumnotused \ - wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem, \ + wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \ + doubunder, \ DISABLED_WARNINGS_CXX_microsoft := 4996, \ LDFLAGS := $(JVM_LDFLAGS), \ LDFLAGS_solaris := -library=stlport4 $(call SET_SHARED_LIBRARY_ORIGIN), \ diff -r 63294a64cc2e -r 97746cb303aa make/hotspot/lib/CompileJvm.gmk --- a/make/hotspot/lib/CompileJvm.gmk Sat Mar 03 08:33:51 2018 +0100 +++ b/make/hotspot/lib/CompileJvm.gmk Sat Mar 03 09:14:01 2018 +0100 @@ -227,7 +227,8 @@ DISABLED_WARNINGS_clang := tautological-compare, \ DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \ nokeyworddefine notemsource unknownpragma w_enumnotused \ - wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem, \ + wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \ + doubunder, \ DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 \ 1540-1088 1500-010, \ ASFLAGS := $(JVM_ASFLAGS), \ diff -r 63294a64cc2e -r 97746cb303aa make/lib/Lib-jdk.hotspot.agent.gmk --- a/make/lib/Lib-jdk.hotspot.agent.gmk Sat Mar 03 08:33:51 2018 +0100 +++ b/make/lib/Lib-jdk.hotspot.agent.gmk Sat Mar 03 09:14:01 2018 +0100 @@ -103,7 +103,7 @@ OPTIMIZATION := NONE, \ DISABLED_WARNINGS_microsoft := 4267, \ DISABLED_WARNINGS_gcc := sign-compare, \ - DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma, \ + DISABLED_WARNINGS_CXX_solstudio := truncwarn unknownpragma doubunder, \ OUTPUT_DIR := $(call FindLibDirForModule, $(MODULE)), \ SRC := $(SA_SRC), \ EXCLUDE_FILES := test.c saproc_audit.cpp $(SA_EXCLUDE_FILES), \