public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* "source file newwer than class file" warning
@ 2000-04-01  0:00 Bryce McKinlay
  2000-04-01  0:00 ` Alexandre Petit-Bianco
  0 siblings, 1 reply; 4+ messages in thread
From: Bryce McKinlay @ 2000-04-01  0:00 UTC (permalink / raw)
  To: java-discuss

This message seems to comes up whenever there is a .java file newwer than its
matching .class file. Even when calling "gcj -c *.java" or "gcj -C *.java".
Surely it should only be appearing only when compiling class files?

$ gcj -C *.java
Rule.java:245: warning: Source file for class `Constants' is newer than its
matching class file. Source file used instead
CommandElement.java:11: warning: Source file for class `Constants' is newer than
its matching class file. Source file used instead

  [ bryce ]


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

* Re: "source file newwer than class file" warning
  2000-04-01  0:00 ` Alexandre Petit-Bianco
@ 2000-04-01  0:00   ` Alexandre Petit-Bianco
  2000-04-01  0:00     ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Petit-Bianco @ 2000-04-01  0:00 UTC (permalink / raw)
  To: java-discuss

Alexandre Petit-Bianco writes:

> It should only appear for files you haven't specified on the command
> line. Can you file a PR? I'll work on a patch ASAP, because it's
> annoying.

Actually it's going to be harder than I though. `gcj A.java B.java'
spawns two copies of jc1 (one per input file.)

./A

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

* Re: "source file newwer than class file" warning
  2000-04-01  0:00   ` Alexandre Petit-Bianco
@ 2000-04-01  0:00     ` Tom Tromey
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2000-04-01  0:00 UTC (permalink / raw)
  To: apbianco; +Cc: java-discuss

>> It should only appear for files you haven't specified on the
>> command line. Can you file a PR? I'll work on a patch ASAP, because
>> it's annoying.

Alex> Actually it's going to be harder than I though. `gcj A.java
Alex> B.java' spawns two copies of jc1 (one per input file.)

Per wrote some code to address this, but it isn't finished.
Look at the COMBINE_INPUTS code in jvspec.c.

Tom


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

* Re: "source file newwer than class file" warning
  2000-04-01  0:00 "source file newwer than class file" warning Bryce McKinlay
@ 2000-04-01  0:00 ` Alexandre Petit-Bianco
  2000-04-01  0:00   ` Alexandre Petit-Bianco
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Petit-Bianco @ 2000-04-01  0:00 UTC (permalink / raw)
  To: java-discuss

Bryce McKinlay writes:

> Surely it should only be appearing only when compiling class files?

It should only appear for files you haven't specified on the command
line. Can you file a PR? I'll work on a patch ASAP, because it's
annoying.

./A

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

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-01  0:00 "source file newwer than class file" warning Bryce McKinlay
2000-04-01  0:00 ` Alexandre Petit-Bianco
2000-04-01  0:00   ` Alexandre Petit-Bianco
2000-04-01  0:00     ` Tom Tromey

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).