===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.99
@@ -262,7 +262,7 @@
of the standard directive <code>#include</code>
and the extension <code>#include_next</code> respectively.
</li>
- <li>A new built-in function-like macro to detect the existence of an
+ <li>A new built-in function-like macro to determine the existence of an
attribute, <code>__has_attribute</code>, has been added.
The equivalent built-in macro <code>__has_cpp_attribute</code> was
added to C++ to support
@@ -279,11 +279,12 @@
#endif
foo(int x);
</pre></blockquote>
- If an attribute exists a nonzero constant integer is returned.
+ If an attribute exists, a nonzero constant integer is returned.
For standardized C++ attributes a date is returned, otherwise the
constant returned is 1.
- The has_attribute macros will add underscores to an attribute name
- if necessary to resolve the name.
+ Both <code>__has_attribute</code> and
+ <code>__has_cpp_attribute</code> will add underscores to an
+ attribute name if necessary to resolve the name.
For C++11 and onwards the attribute may be scoped.
</li>
<li>A new set of built-in functions for arithmetics with overflow checking