Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
java-1_6_0-openjdk
openjdk-6-src-b20-no-werror.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openjdk-6-src-b20-no-werror.patch of Package java-1_6_0-openjdk
Index: icedtea6-1.9.1/openjdk/hotspot/make/linux/makefiles/gcc.make =================================================================== --- icedtea6-1.9.1.orig/openjdk/hotspot/make/linux/makefiles/gcc.make +++ icedtea6-1.9.1/openjdk/hotspot/make/linux/makefiles/gcc.make @@ -111,7 +111,8 @@ else ACCEPTABLE_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare endif -CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ACCEPTABLE_WARNINGS) +# gcc 4.5 produces a lot of errors expecially in autogenarated files, so turn -Weror off +CFLAGS_WARN/DEFAULT = $(ACCEPTABLE_WARNINGS) # Special cases CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) Index: icedtea6-1.9.1/openjdk/jdk/make/common/Defs-linux.gmk =================================================================== --- icedtea6-1.9.1.orig/openjdk/jdk/make/common/Defs-linux.gmk +++ icedtea6-1.9.1/openjdk/jdk/make/common/Defs-linux.gmk @@ -153,9 +153,9 @@ GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(G # # Treat compiler warnings as errors, if warnings not allowed # -ifeq ($(COMPILER_WARNINGS_FATAL),true) - GCC_WARNINGS += -Werror -endif +#ifeq ($(COMPILER_WARNINGS_FATAL),true) +# GCC_WARNINGS += -Werror +#endif # # Misc compiler options Index: icedtea6-1.9.1/openjdk/hotspot/make/linux/makefiles/adlc.make =================================================================== --- icedtea6-1.9.1.orig/openjdk/hotspot/make/linux/makefiles/adlc.make +++ icedtea6-1.9.1/openjdk/hotspot/make/linux/makefiles/adlc.make @@ -62,7 +62,8 @@ CPPFLAGS += -DASSERT # CFLAGS_WARN holds compiler options to suppress/enable warnings. # Compiler warnings are treated as errors -CFLAGS_WARN = -Werror +# XXX: Who could fix all those stupid errors on gcc 4.5? +#CFLAGS_WARN = -Werror CFLAGS += $(CFLAGS_WARN) OBJECTNAMES = \ Index: icedtea6-1.9.1/openjdk/corba/make/common/Defs-linux.gmk =================================================================== --- icedtea6-1.9.1.orig/openjdk/corba/make/common/Defs-linux.gmk +++ icedtea6-1.9.1/openjdk/corba/make/common/Defs-linux.gmk @@ -143,9 +143,9 @@ GCC_WARNINGS = -W -Wall $(GCC_STYLE) $(G # # Treat compiler warnings as errors, if warnings not allowed # -ifeq ($(COMPILER_WARNINGS_FATAL),true) - GCC_WARNINGS += -Werror -endif +#ifeq ($(COMPILER_WARNINGS_FATAL),true) +# GCC_WARNINGS += -Werror +#endif # # Misc compiler options Index: icedtea6-1.9.1/openjdk/hotspot/make/solaris/makefiles/gcc.make =================================================================== --- icedtea6-1.9.1.orig/openjdk/hotspot/make/solaris/makefiles/gcc.make +++ icedtea6-1.9.1/openjdk/hotspot/make/solaris/makefiles/gcc.make @@ -114,7 +114,7 @@ endif WARNINGS_ARE_ERRORS = -Werror # Enable these warnings. See 'info gcc' about details on these options ADDITIONAL_WARNINGS = -Wpointer-arith -Wconversion -Wsign-compare -CFLAGS_WARN/DEFAULT = $(WARNINGS_ARE_ERRORS) $(ADDITIONAL_WARNINGS) +CFLAGS_WARN/DEFAULT = $(ADDITIONAL_WARNINGS) # Special cases CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor