Bug 231020 - ecj does not recognize -Wall, -Werror, nor -W
ecj does not recognize -Wall, -Werror, nor -W
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: eclipse (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ben Konrath
:
: 231181 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-05 12:22 EST by Stepan Kasal
Modified: 2007-11-30 17:11 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-30 16:43:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stepan Kasal 2007-03-05 12:22:55 EST
When I call latest
   gcj -C -Wall foo.java
then I get
   invalid warning: all
from ecj which was called by gcj.
Likewise for "-Werror" and "-W".

Could ecj handle these cases?
Or shoudl gcj strip/translate it?
Comment 1 Mark Wielaard 2007-03-05 12:38:35 EST
Note that this was already fixed upstream:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30585
Comment 2 Andrew Overholt 2007-03-05 13:17:34 EST
So what needs to be done in the Eclipse SDK package?
Comment 3 Tom Tromey 2007-03-05 13:23:24 EST
Just pull in the new GCCMain.java.
You'll need this anyway for the 3.2.2 fix.
Comment 4 Andrew Overholt 2007-03-05 13:28:19 EST
Okay, Ben can do this when he gets back from EclipseCon.  Although I'm pretty
sure he already pulled in a new GCCMain.java for the 3.2.2 fix and built it into
dist-fc7-candidate.

If it's urgent, let me know and I can spin it (or someone else can).
Comment 5 Ben Konrath 2007-03-05 18:31:22 EST
(In reply to comment #4)
> Okay, Ben can do this when he gets back from EclipseCon.  Although I'm pretty
> sure he already pulled in a new GCCMain.java for the 3.2.2 fix and built it into
> dist-fc7-candidate.

Yep, that's right, the latest GCCMain is in 3.2.2-3 which is in
dist-fc7-candidate. Once 3.2.2-3 has been tested with a gcc build it will be
moved over to dist-fc7. I think Jakub is going to do this.
Comment 6 Jakub Jelinek 2007-03-11 12:20:29 EDT
*** Bug 231181 has been marked as a duplicate of this bug. ***
Comment 7 Tom Tromey 2007-03-30 16:43:16 EDT
I just tried this and it is fixed in rawhide.

Note You need to log in before you can comment on or make changes to this bug.