Public bug reported:

$ dpkg-query -W gcj
gcj     4:4.3.1-1ubuntu2

$ cat Empty.java 
class Empty{public static void main(String[]a){}}

$ gcj -Os -freduced-reflection -Wall --enable-assertions -fsource=1.6 -o Empty 
--main=Empty Empty.java 
cc1: warning: command line option "-freduced-reflection" is valid for Java but 
not for C
cc1: warning: command line option "-fenable-assertions" is valid for Java but 
not for C

I compile a Java class using gcj, yet I am presented with warnings
stating that some of the options I passed are not valid for C!

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gcj prints warning that does not make sense
https://bugs.launchpad.net/bugs/284345
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to