I keep getting a compile error:
gcj: Internal compiler error: program jc1 got fatal signal 11
I don't think this is my fault... a little assistace please?
Thanks,
Shane
gcj:Internal compiler error: program jc1 got fatal signal 11
Moderator: Board moderators
Woo! After spending time commenting out vast portions of my code. I finally narrowed it down to what was causing the problem, and being that's relatively general code I figured I would share the problem with everyone here.
This code was breaking their compiler:
This code compiles on the servers just fine:
Shane
This code was breaking their compiler:
Code: Select all
while(!(line=reader.readLine()).equals("")){
// doesn't matter
}
How frustrating!String line = reader.readLine();
while(!(line.equals(""))){
// doesn't matter
line = reader.readLine();
}
Shane
-
- New poster
- Posts: 5
- Joined: Mon Mar 31, 2008 12:49 am
Re: gcj:Internal compiler error: program jc1 got fatal signal 11
Hi Shane, thanks a lot for sharing!
After changing my code according to your finding it finally got rid of this misleading "Internal compiler error..." message and accepted.
Things like this can turn a usual citizen madman.
Cheers, Stefan.
After changing my code according to your finding it finally got rid of this misleading "Internal compiler error..." message and accepted.
Things like this can turn a usual citizen madman.
Cheers, Stefan.