This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: C++ PATCH: Disallow floating-point literals in integral-constant expressions
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: tromey at redhat dot com
- Cc: Mark Mitchell <mark at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ Patches <java-patches at gcc dot gnu dot org>
- Date: Wed, 2 Feb 2005 00:11:04 +0530
- Subject: Re: C++ PATCH: Disallow floating-point literals in integral-constant expressions
- References: <200502010102.j1112IsD021436@sethra.codesourcery.com> <41FF1AFD.20306@gmail.com> <41FF1CE6.5090904@codesourcery.com> <39399b9d05013122166361305c@mail.gmail.com> <41FF1FDA.4040307@codesourcery.com> <39399b9d0502010138606a3a2d@mail.gmail.com> <m3vf9cgn6o.fsf@localhost.localdomain>
- Reply-to: Ranjit Mathew <rmathew at gmail dot com>
On 01 Feb 2005 11:17:03 -0700, Tom Tromey <tromey@redhat.com> wrote:
> >>>>> "Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:
>
> Ranjit> It is "bogus" in the sense that it just disables
> Ranjit> the initialisation for static final real fields for
> Ranjit> CNI (and not JNI).
>
> I think this is what we want. If C++ doesn't allow this, then it
> simply doesn't. I don't think it is critical for us.
>
> Please commit this patch.
Thanks. I've committed it with an
appropriate ChangeLog entry.
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/