This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ -vs Java boolean
- To: gcc-bugs at egcs dot cygnus dot com, tromey at cygnus dot com
- Subject: Re: g++ -vs Java boolean
- From: mrs at wrs dot com (Mike Stump)
- Date: Wed, 4 Aug 1999 11:50:00 -0700
> Date: Tue, 3 Aug 1999 20:00:38 -0700
> From: Tom Tromey <tromey@cygnus.com>
> To: gcc-bugs@egcs.cygnus.com
> The issue is that g++ now seems to treat "false" differently in a Java
> context. In I think that the C++ "false" and the Java "false" should
> be handled identically.
:-( If you have jbool, then I think you must need jfalse.
> test.cc:35: call of overloaded `Bar(bool)' is ambiguous
> test.cc:20: candidates are: Bar::Bar(__java_boolean)
> test.cc:21: Bar::Bar(__java_short)
Yup.