make/hotspot/lib/CompileJvm.gmk
changeset 51853 ec62d6cab037
parent 51839 ab54a4d61d7f
child 52022 804792ce736f
equal deleted inserted replaced
51852:e240625311ad 51853:ec62d6cab037
    80     #
    80     #
    81 
    81 
    82 ################################################################################
    82 ################################################################################
    83 # Disabled warnings
    83 # Disabled warnings
    84 
    84 
    85 DISABLED_WARNINGS_gcc := extra all
    85 DISABLED_WARNINGS_gcc := extra parentheses comment unknown-pragmas address \
       
    86     delete-non-virtual-dtor char-subscripts array-bounds int-in-bool-context \
       
    87     ignored-qualifiers  missing-field-initializers implicit-fallthrough \
       
    88     empty-body strict-overflow sequence-point maybe-uninitialized \
       
    89     misleading-indentation
       
    90 
    86 ifeq ($(call check-jvm-feature, zero), true)
    91 ifeq ($(call check-jvm-feature, zero), true)
    87   DISABLED_WARNINGS_gcc += return-type
    92   DISABLED_WARNINGS_gcc += return-type switch
    88 endif
    93 endif
    89 
    94 
    90 DISABLED_WARNINGS_clang := extra all tautological-compare deprecated-declarations
    95 DISABLED_WARNINGS_clang := tautological-compare deprecated-declarations \
    91 
    96     undefined-var-template sometimes-uninitialized unknown-pragmas \
    92 DISABLED_WARNINGS_solstudio :=
    97     delete-non-virtual-dtor missing-braces char-subscripts \
       
    98     ignored-qualifiers missing-field-initializers mismatched-tags
       
    99 
       
   100 DISABLED_WARNINGS_solstudio := labelnotused hidef w_novirtualdescr inlafteruse \
       
   101     unknownpragma doubunder w_enumnotused w_toomanyenumnotused \
       
   102     wvarhidenmem wunreachable wnoretvalue notemsource
    93 
   103 
    94 DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 1540-1088 \
   104 DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 1540-1088 \
    95     1500-010
   105     1500-010
    96 
   106 
    97 DISABLED_WARNINGS_microsoft :=
   107 DISABLED_WARNINGS_microsoft :=