C++ PATCH: Disallow floating-point literals in integral-constant expressions

Ranjit Mathew rmathew@gmail.com
Tue Feb 1 18:41:00 GMT 2005


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/



More information about the Gcc-patches mailing list