diff make/solaris/makefiles/sparcWorks.make @ 3929:f94227b6117b

7090259: Fix hotspot sources to build with old compilers Summary: Fixed warnings which prevent building VM with old compilers. Reviewed-by: never
author kvn
date Tue, 13 Sep 2011 20:28:00 -0700
parents 5781ed5f1865
children da0999c4b733
line wrap: on
line diff
--- a/make/solaris/makefiles/sparcWorks.make	Tue Sep 13 16:58:35 2011 -0700
+++ b/make/solaris/makefiles/sparcWorks.make	Tue Sep 13 20:28:00 2011 -0700
@@ -148,6 +148,9 @@
 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.
 CFLAGS += -DDONT_USE_PRECOMPILED_HEADER
 
+# Compiler warnings are treated as errors
+CFLAGS_WARN = -xwe
+
 ################################################
 # Begin current (>=5.9) Forte compiler options #
 #################################################