[Bug java/30607] New: gcj -I x -C doesn't include x as source dir search patch
mark at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 27 00:39:00 GMT 2007
Given an directory x with two source files:
- x/a.java
public class a extends b { }
- x/b.java
public class b { }
With gcj 4.1.1 it was possible to include x as source patch search dir with -I
and compile as follows:
$ gcj -C -I x x/a.java
With current svn trunk (and ecj1 installed) this gives:
$ /usr/local/gcc43/bin/gcj -C -I x x/a.java
x/a.java:1: error: b cannot be resolved to a type
public class a extends b { }
^
1 problem (1 error)
--
Summary: gcj -I x -C doesn't include x as source dir search patch
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mark at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30607
More information about the Gcc-bugs
mailing list