Promote inllargeint to global disable on solstudio. ihse-cflags-rewrite-branch
authorihse
Mon, 05 Mar 2018 22:16:28 +0100
branchihse-cflags-rewrite-branch
changeset 56240 1950c307f07a
parent 56239 ba505dae4143
child 56241 0b5822abe04a
Promote inllargeint to global disable on solstudio.
make/autoconf/flags-cflags.m4
make/hotspot/lib/CompileGtest.gmk
make/hotspot/lib/CompileJvm.gmk
--- a/make/autoconf/flags-cflags.m4	Mon Mar 05 22:02:25 2018 +0100
+++ b/make/autoconf/flags-cflags.m4	Mon Mar 05 22:16:28 2018 +0100
@@ -194,7 +194,8 @@
       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 notemsource"
+      DISABLED_WARNINGS_CXX="inllargeuse inllargeint notused wemptydecl notemsource"
+      # helpful quality checks, should not be disabled: inllargeuse inllargeint
       ;;
     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/lib/CompileGtest.gmk	Mon Mar 05 22:02:25 2018 +0100
+++ b/make/hotspot/lib/CompileGtest.gmk	Mon Mar 05 22:16:28 2018 +0100
@@ -90,7 +90,7 @@
         array-bounds narrowing empty-body unused-but-set-parameter undef, \
     DISABLED_WARNINGS_clang := undef switch format-nonliteral \
         tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \
-    DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \
+    DISABLED_WARNINGS_solstudio := hidef inlafteruse \
         nokeyworddefine unknownpragma w_enumnotused \
         wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \
         doubunder wunreachable, \
--- a/make/hotspot/lib/CompileJvm.gmk	Mon Mar 05 22:02:25 2018 +0100
+++ b/make/hotspot/lib/CompileJvm.gmk	Mon Mar 05 22:16:28 2018 +0100
@@ -230,8 +230,8 @@
         missing-field-initializers unused-but-set-variable char-subscripts \
         array-bounds narrowing empty-body unused-but-set-parameter, \
     DISABLED_WARNINGS_clang := tautological-compare, \
-    DISABLED_WARNINGS_solstudio := hidef inlafteruse inllargeint \
-        nokeyworddefine  unknownpragma w_enumnotused \
+    DISABLED_WARNINGS_solstudio := hidef inlafteruse  \
+        nokeyworddefine unknownpragma w_enumnotused \
         wnoretvalue w_novirtualdescr w_toomanyenumnotused wvarhidenmem \
         doubunder wunreachable, \
     DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 \