public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/14670] New: gcj & high ascii: win32: incorrectly translated / linux: fails to compile
@ 2004-03-21 16:15 ovidr at users dot sourceforge dot net
  2004-03-21 16:18 ` [Bug java/14670] " ovidr at users dot sourceforge dot net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ovidr at users dot sourceforge dot net @ 2004-03-21 16:15 UTC (permalink / raw)
  To: java-prs

On Linux: gcc version 3.4.0 20040131
TestD.java:12: error: unrecognized character in input stream.

On Win32: gcc version 3.4.0 20040316 (prerelease)
Compiles fine, but characters are either output as boxes or question marks.

The test app creates two labels (A and B)  The high bit ascii results when 
compiled:

1. All Sun's JAVA:

javac -classpath swt.jar TestD.java
java -classpath swt.jar;. TestD
A: OK
B: OK

2. Mixture of javac and GCJ.

javac -classpath swt.jar TestD.java
gcj -c TestD.class -I swt.jar
gcj --main=TestD TestD.o libswt.a

A: OK
B: Wrong. Has ?'s (question marks)

3. All GCJ.

gcj -c TestD.java -I swt.jar
gcj --main=TestD TestD.o libswt.a

A: Wrong. Has boxes.

I will attach the class to this message.

-- 
           Summary: gcj & high ascii: win32: incorrectly translated / linux:
                    fails to compile
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ovidr at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14670


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

end of thread, other threads:[~2004-12-15  4:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-21 16:15 [Bug java/14670] New: gcj & high ascii: win32: incorrectly translated / linux: fails to compile ovidr at users dot sourceforge dot net
2004-03-21 16:18 ` [Bug java/14670] " ovidr at users dot sourceforge dot net
2004-03-21 16:18 ` ovidr at users dot sourceforge dot net
2004-03-21 16:37 ` pinskia at gcc dot gnu dot org
2004-03-21 17:25 ` ovidr at users dot sourceforge dot net
2004-04-07  3:12 ` [Bug java/14670] [win32] gcj & high ascii: " pinskia at gcc dot gnu dot org
2004-04-07  3:12 ` pinskia at gcc dot gnu dot org
2004-12-12 21:33 ` [Bug libgcj/14670] " pinskia at gcc dot gnu dot org
2004-12-12 21:34 ` pinskia at gcc dot gnu dot org
2004-12-14 20:13 ` tromey at gcc dot gnu dot org
2004-12-15  4:59 ` ovidr at users dot sourceforge dot net

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