diff options
Diffstat (limited to 'libstdc++-v3/doc')
-rw-r--r-- | libstdc++-v3/doc/doxygen/user.cfg.in | 4 | ||||
-rw-r--r-- | libstdc++-v3/doc/html/manual/using_exceptions.html | 6 | ||||
-rw-r--r-- | libstdc++-v3/doc/xml/manual/using_exceptions.xml | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/libstdc++-v3/doc/doxygen/user.cfg.in b/libstdc++-v3/doc/doxygen/user.cfg.in index 7ec91a16fdb..019462e92ad 100644 --- a/libstdc++-v3/doc/doxygen/user.cfg.in +++ b/libstdc++-v3/doc/doxygen/user.cfg.in @@ -2142,8 +2142,8 @@ PREDEFINED = __cplusplus=201103L \ _GLIBCXX_USE_C99_STDINT_TR1 \ _GLIBCXX_USE_SCHED_YIELD \ _GLIBCXX_USE_NANOSLEEP \ - __EXCEPTIONS \ - __GXX_RTTI \ + __cpp_exceptions \ + __cpp_rtti \ ATOMIC_INT_LOCK_FREE \ PB_DS_DATA_TRUE_INDICATOR \ PB_DS_STATIC_ASSERT=// \ diff --git a/libstdc++-v3/doc/html/manual/using_exceptions.html b/libstdc++-v3/doc/html/manual/using_exceptions.html index 83e4ba6eec9..f1dd0996758 100644 --- a/libstdc++-v3/doc/html/manual/using_exceptions.html +++ b/libstdc++-v3/doc/html/manual/using_exceptions.html @@ -151,7 +151,7 @@ exception neutrality and exception safety. and <code class="literal">__throw_exception_again</code>. They are defined as follows. </p><pre class="programlisting"> -#ifdef __EXCEPTIONS +#if __cpp_exceptions # define __try try # define __catch(X) catch(X) # define __throw_exception_again throw @@ -165,7 +165,7 @@ exception neutrality and exception safety. class <code class="classname">exception</code>, there exists a corresponding function with C language linkage. An example: </p><pre class="programlisting"> -#ifdef __EXCEPTIONS +#if __cpp_exceptions void __throw_bad_exception(void) { throw bad_exception(); } #else @@ -310,4 +310,4 @@ is called. <a class="link" href="http://gcc.gnu.org/PR25191" target="_top"> GCC Bug 25191: exception_defines.h #defines try/catch </a> - </em>. </span></p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="using_concurrency.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="using.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="debug.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Concurrency </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Debugging Support</td></tr></table></div></body></html>
\ No newline at end of file + </em>. </span></p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="using_concurrency.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="using.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="debug.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Concurrency </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> Debugging Support</td></tr></table></div></body></html> diff --git a/libstdc++-v3/doc/xml/manual/using_exceptions.xml b/libstdc++-v3/doc/xml/manual/using_exceptions.xml index 698b2fbf632..840c12b972b 100644 --- a/libstdc++-v3/doc/xml/manual/using_exceptions.xml +++ b/libstdc++-v3/doc/xml/manual/using_exceptions.xml @@ -251,7 +251,7 @@ exception neutrality and exception safety. </para> <programlisting> -#ifdef __EXCEPTIONS +#if __cpp_exceptions # define __try try # define __catch(X) catch(X) # define __throw_exception_again throw @@ -269,7 +269,7 @@ exception neutrality and exception safety. </para> <programlisting> -#ifdef __EXCEPTIONS +#if __cpp_exceptions void __throw_bad_exception(void) { throw bad_exception(); } #else |