Skip to content
Snippets Groups Projects
Commit 36f6aa5e authored by redi's avatar redi
Browse files

2005-02-07 Jonathan Wakely <redi@gcc.gnu.org>

	* doc/extend.texi: Document deprecated extensions allowing
	static floating-point members to have initializers and allowing
	floating-point literals in integral constant expressions.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94706 138bc75d-0d04-0410-961f-82ee72b054a4
parent 96d808c2
No related branches found
No related tags found
No related merge requests found
2005-02-07 Jonathan Wakely <redi@gcc.gnu.org>
* doc/extend.texi: Document deprecated extensions allowing
static floating-point members to have initializers and allowing
floating-point literals in integral constant expressions.
2005-02-07 Kazu Hirata <kazu@cs.umass.edu> 2005-02-07 Kazu Hirata <kazu@cs.umass.edu>
* cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h, * cfgcleanup.c, df.h, diagnostic.c, rtl.c, tree-vectorizer.h,
......
...@@ -9799,6 +9799,16 @@ The use of default arguments in function pointers, function typedefs and ...@@ -9799,6 +9799,16 @@ The use of default arguments in function pointers, function typedefs and
and other places where they are not permitted by the standard is and other places where they are not permitted by the standard is
deprecated and will be removed from a future version of G++. deprecated and will be removed from a future version of G++.
G++ allows floating-point literals to appear in integral constant expressions,
e.g. @samp{ enum E @{ e = int(2.2 * 3.7) @} }
This extension is deprecated and will be removed from a future version.
G++ allows static data members of const floating-point type to be declared
with an initializer in a class definition. The standard only allows
initializers for static members of const integral types and const
enumeration types so this extension has been deprecated and will be removed
from a future version.
@node Backwards Compatibility @node Backwards Compatibility
@section Backwards Compatibility @section Backwards Compatibility
@cindex Backwards Compatibility @cindex Backwards Compatibility
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment