Changeset 133


Ignore:
Timestamp:
Sep 1, 2010, 10:11:15 PM (15 years ago)
Author:
dmik
Message:

make: We compile a lot of MSVC code with GCC so disable warnings that MSVC seems to silently tolerate.

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/make/os2/makefiles/compile.make

    r124 r133  
    2727
    2828CXX_FLAGS = $(CPP_FLAGS) -Zomf -march=i486 -mtune=generic
     29
     30# We compile a lot of MSVC code which seems to silently tolerate these
     31CXX_FLAGS += -Wno-sign-compare -Wno-write-strings
    2932
    3033# Based on BUILDARCH we add some flags and select the default compiler name
  • trunk/openjdk/jdk/make/common/Defs-os2.gmk

    r120 r133  
    113113GCC_WARNINGS    = -W -Wall $(GCC_STYLE) $(GCC_INHIBIT)
    114114
     115# We compile a lot of MSVC code which seems to silently tolerate this
     116GCC_WARNINGS += -Wno-sign-compare -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
     117
    115118#
    116119# Treat compiler warnings as errors, if warnings not allowed
Note: See TracChangeset for help on using the changeset viewer.