public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/30607]  New: gcj -I x -C doesn't include x as source dir search patch
@ 2007-01-27  0:38 mark at gcc dot gnu dot org
  2007-01-27 10:12 ` [Bug java/30607] " mtrudel at gmx dot ch
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mark at gcc dot gnu dot org @ 2007-01-27  0:38 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-29 21:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-27  0:38 [Bug java/30607] New: gcj -I x -C doesn't include x as source dir search patch mark at gcc dot gnu dot org
2007-01-27 10:12 ` [Bug java/30607] " mtrudel at gmx dot ch
2007-01-29 19:16 ` tromey at gcc dot gnu dot org
2007-01-29 19:34 ` tromey at gcc dot gnu dot org
2007-01-29 21:30 ` tromey at gcc dot gnu dot org
2007-01-29 21:38 ` tromey at gcc dot gnu dot org
2007-01-29 21:39 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).