< prev index next >

make/hotspot/lib/CompileJvm.gmk

Print this page
rev 55747 : 8228426: xlc: switch to clang-style warning disabling


  78 
  79 DISABLED_WARNINGS_gcc := extra parentheses comment unknown-pragmas address \
  80     delete-non-virtual-dtor char-subscripts array-bounds int-in-bool-context \
  81     ignored-qualifiers  missing-field-initializers implicit-fallthrough \
  82     empty-body strict-overflow sequence-point maybe-uninitialized \
  83     misleading-indentation
  84 
  85 ifeq ($(call check-jvm-feature, zero), true)
  86   DISABLED_WARNINGS_gcc += return-type switch
  87 endif
  88 
  89 DISABLED_WARNINGS_clang := tautological-compare \
  90     undefined-var-template sometimes-uninitialized unknown-pragmas \
  91     delete-non-virtual-dtor missing-braces char-subscripts \
  92     ignored-qualifiers missing-field-initializers mismatched-tags
  93 
  94 DISABLED_WARNINGS_solstudio := labelnotused hidef w_novirtualdescr inlafteruse \
  95     unknownpragma doubunder w_enumnotused w_toomanyenumnotused \
  96     wvarhidenmem wunreachable wnoretvalue notemsource
  97 
  98 DISABLED_WARNINGS_xlc := 1540-0216 1540-0198 1540-1090 1540-1639 1540-1088 \
  99     1500-010
 100 
 101 DISABLED_WARNINGS_microsoft :=
 102 
 103 
 104 
 105 ################################################################################
 106 # Platform specific setup
 107 
 108 # ARM source selection
 109 
 110 ifeq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, arm)), true)
 111   JVM_EXCLUDE_PATTERNS += arm_64
 112 
 113 else ifeq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, aarch64)), true)
 114   # For 64-bit arm builds, we use the 64 bit hotspot/src/cpu/arm
 115   # hotspot sources if HOTSPOT_TARGET_CPU_ARCH is set to arm.
 116   # Exclude the aarch64 and 32 bit arm files for this build.
 117   ifeq ($(HOTSPOT_TARGET_CPU_ARCH), arm)
 118     JVM_EXCLUDE_PATTERNS += arm_32 aarch64
 119   endif




  78 
  79 DISABLED_WARNINGS_gcc := extra parentheses comment unknown-pragmas address \
  80     delete-non-virtual-dtor char-subscripts array-bounds int-in-bool-context \
  81     ignored-qualifiers  missing-field-initializers implicit-fallthrough \
  82     empty-body strict-overflow sequence-point maybe-uninitialized \
  83     misleading-indentation
  84 
  85 ifeq ($(call check-jvm-feature, zero), true)
  86   DISABLED_WARNINGS_gcc += return-type switch
  87 endif
  88 
  89 DISABLED_WARNINGS_clang := tautological-compare \
  90     undefined-var-template sometimes-uninitialized unknown-pragmas \
  91     delete-non-virtual-dtor missing-braces char-subscripts \
  92     ignored-qualifiers missing-field-initializers mismatched-tags
  93 
  94 DISABLED_WARNINGS_solstudio := labelnotused hidef w_novirtualdescr inlafteruse \
  95     unknownpragma doubunder w_enumnotused w_toomanyenumnotused \
  96     wvarhidenmem wunreachable wnoretvalue notemsource
  97 
  98 DISABLED_WARNINGS_xlc := tautological-compare shift-negative-value

  99 
 100 DISABLED_WARNINGS_microsoft :=
 101 
 102 
 103 
 104 ################################################################################
 105 # Platform specific setup
 106 
 107 # ARM source selection
 108 
 109 ifeq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, arm)), true)
 110   JVM_EXCLUDE_PATTERNS += arm_64
 111 
 112 else ifeq ($(call And, $(call isTargetOs, linux) $(call isTargetCpu, aarch64)), true)
 113   # For 64-bit arm builds, we use the 64 bit hotspot/src/cpu/arm
 114   # hotspot sources if HOTSPOT_TARGET_CPU_ARCH is set to arm.
 115   # Exclude the aarch64 and 32 bit arm files for this build.
 116   ifeq ($(HOTSPOT_TARGET_CPU_ARCH), arm)
 117     JVM_EXCLUDE_PATTERNS += arm_32 aarch64
 118   endif


< prev index next >