[Bug java/8626] warn for non-static references to static members

tromey@redhat.com gcc-bugzilla@gcc.gnu.org
Tue Jun 17 01:41:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From tromey@redhat.com  2003-06-17 01:41 -------
What this means is give a warning if you write,
eg:
   foo.bar()
where "bar" is a static method.
This is perfectly valid, but weird.
The eclipse compiler, and rightly so I think,
flags this as a warning.



More information about the Gcc-bugs mailing list