This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/30607] New: gcj -I x -C doesn't include x as source dir search patch
- From: "mark at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 27 Jan 2007 00:38:52 -0000
- Subject: [Bug java/30607] New: gcj -I x -C doesn't include x as source dir search patch
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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