diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-17 22:51:35 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-17 22:51:35 +0000 |
commit | 52d1f7e09fbb0e906f028730c1754701aebb4fb1 (patch) | |
tree | b6b89504cc8a80078f7f29637752de51fc170101 /gcc/java/jcf-io.c | |
parent | 638a142aa3f33614e5d1cccc7c487e1b8bbc90e3 (diff) | |
download | gcc-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/jcf-io.c')
-rw-r--r-- | gcc/java/jcf-io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index 6a418abb559..e0ab03e14cf 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -376,7 +376,8 @@ caching_stat (char *filename, struct stat *buf) particular, the type of the function pointer passed as the third argument sometimes takes a "const struct dirent *" parameter, and sometimes just a "struct dirent *". We cast - to (void *) so that either way it is quietly accepted. */ + to (void *) so that either way it is quietly accepted. + FIXME: scandir is not in POSIX. */ dent->num_files = scandir (filename, &dent->files, (void *) java_or_class_file, alphasort); |