summaryrefslogtreecommitdiff
path: root/gcc/java/Make-lang.in
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-17 22:51:35 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-17 22:51:35 +0000
commit52d1f7e09fbb0e906f028730c1754701aebb4fb1 (patch)
treeb6b89504cc8a80078f7f29637752de51fc170101 /gcc/java/Make-lang.in
parent638a142aa3f33614e5d1cccc7c487e1b8bbc90e3 (diff)
downloadgcc-52d1f7e09fbb0e906f028730c1754701aebb4fb1.tar.gz
* class.c (ident_subst): Always alloca buffer.
* java-opcodes.h (LAST_AND_UNUSED_JAVA_OPCODE): Add this dummy opcode after including javaop.def. * jcf-dump.c (CHECK_PC_IN_RANGE): Return 0 from the arm of the conditional expression that exits, to avoid warnings. * verify.c (CHECK_PC_IN_RANGE): Mark the __GNUC__ definition as a user of an extension. * win32-host.c: Move check down to have non-empty file when WIN32 is not defined. * Make-lang.in (java-warn): Add STRICT_WARN. (java/jcf-io.o-warn): Don't have Werror for this file. * jcf-io.c (caching_stat): Add FIXME for non-POSIX scandir use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89184 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/Make-lang.in')
-rw-r--r--gcc/java/Make-lang.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in
index b74e83b1aa9..347a93d4c2a 100644
--- a/gcc/java/Make-lang.in
+++ b/gcc/java/Make-lang.in
@@ -118,11 +118,15 @@ JCFDUMP_OBJS = java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \
JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o errors.o intl.o
-# Use loose warnings for this front end.
-java-warn = $(WERROR)
+# Use strict warnings for this front end.
+java-warn = $(STRICT_WARN)
+
# String length warnings
jvspec.o-warn = -Wno-error
+# Use of non-standardized scandir
+java/jcf-io.o-warn = -Wno-error
+
jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS)
rm -f $@
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \