]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: remove obsolete deprecated info
authorJason Merrill <jason@redhat.com>
Tue, 15 Oct 2024 13:04:23 +0000 (09:04 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 23 Oct 2024 13:18:46 +0000 (09:18 -0400)
These formerly deprecated features eventually made it into the C++ standard.

gcc/ChangeLog:

* doc/extend.texi (Deprecated Features): Remove text about some
no-longer-deprecated features.

gcc/doc/extend.texi

index 42bd567119de8174775552fe24fed2cfc565abda..6c2d6a610cd657585217c5fbe6b7797971b15e5c 100644 (file)
@@ -30169,16 +30169,6 @@ The use of default arguments in function pointers, function typedefs
 and other places where they are not permitted by the standard is
 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.
-
 G++ allows attributes to follow a parenthesized direct initializer,
 e.g.@: @samp{ int f (0) __attribute__ ((something)); } This extension
 has been ignored since G++ 3.3 and is deprecated.