Promoting notemsource to global disable for solstudio. ihse-cflags-rewrite-branch
authorihse
Mon, 05 Mar 2018 22:02:25 +0100
branchihse-cflags-rewrite-branch
changeset 56239 ba505dae4143
parent 56238 c4bda870c926
child 56240 1950c307f07a
Promoting notemsource to global disable for solstudio.
make/autoconf/flags-cflags.m4
make/hotspot/gensrc/GensrcAdlc.gmk
make/hotspot/lib/CompileGtest.gmk
make/hotspot/lib/CompileJvm.gmk
--- a/make/autoconf/flags-cflags.m4	Mon Mar 05 22:00:38 2018 +0100
+++ b/make/autoconf/flags-cflags.m4	Mon Mar 05 22:02:25 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 notused wemptydecl"
+      DISABLED_WARNINGS_CXX="inllargeuse notused wemptydecl notemsource"
       ;;
     gcc)
       # Prior to gcc 4.4, a -Wno-X where X is unknown for that version of gcc will cause an error
--- a/make/hotspot/gensrc/GensrcAdlc.gmk	Mon Mar 05 22:00:38 2018 +0100
+++ b/make/hotspot/gensrc/GensrcAdlc.gmk	Mon Mar 05 22:02:25 2018 +0100
@@ -75,7 +75,6 @@
       OUTPUT_DIR := $(JVM_VARIANT_OUTPUTDIR)/tools/adlc, \
       DEBUG_SYMBOLS := false, \
       DISABLED_WARNINGS_clang := tautological-compare, \
-      DISABLED_WARNINGS_solstudio := notemsource, \
   ))
 
   ADLC_TOOL := $(BUILD_ADLC_TARGET)
--- a/make/hotspot/lib/CompileGtest.gmk	Mon Mar 05 22:00:38 2018 +0100
+++ b/make/hotspot/lib/CompileGtest.gmk	Mon Mar 05 22:02:25 2018 +0100
@@ -91,7 +91,7 @@
     DISABLED_WARNINGS_clang := undef switch format-nonliteral \
         tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \
     DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \
-        nokeyworddefine notemsource unknownpragma w_enumnotused \
+        nokeyworddefine unknownpragma w_enumnotused \
         wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \
         doubunder wunreachable, \
     DISABLED_WARNINGS_CXX_microsoft := 4996, \
--- a/make/hotspot/lib/CompileJvm.gmk	Mon Mar 05 22:00:38 2018 +0100
+++ b/make/hotspot/lib/CompileJvm.gmk	Mon Mar 05 22:02:25 2018 +0100
@@ -231,7 +231,7 @@
         array-bounds narrowing empty-body unused-but-set-parameter, \
     DISABLED_WARNINGS_clang := tautological-compare, \
     DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \
-        nokeyworddefine notemsource unknownpragma w_enumnotused \
+        nokeyworddefine  unknownpragma w_enumnotused \
         wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \
         doubunder wunreachable, \
     DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 \