From db566c7e8147907b4b012f3339ee52fd5320c861 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 16 Nov 2004 11:48:55 +0000 Subject: [PATCH] howto.html: Document change from _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4. 2004-11-16 Jonathan Wakely * docs/html/19_diagnostics/howto.html: Document change from _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4. From-SVN: r90729 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/docs/html/19_diagnostics/howto.html | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f51719da682..78884ef026a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-11-16 Jonathan Wakely + + * docs/html/19_diagnostics/howto.html: Document change from + _GLIBCPP_CONCEPT_CHECKS to _GLIBCXX_CONCEPT_CHECKS in 3.4. + 2004-11-16 Matthias Klose * docs/doxygen/user.cfg.in: Set HAVE_DOT to NO. diff --git a/libstdc++-v3/docs/html/19_diagnostics/howto.html b/libstdc++-v3/docs/html/19_diagnostics/howto.html index 4cd2dc78371..7bf44c641f0 100644 --- a/libstdc++-v3/docs/html/19_diagnostics/howto.html +++ b/libstdc++-v3/docs/html/19_diagnostics/howto.html @@ -110,11 +110,14 @@ object file. The checks are also cleaner and easier to read and understand.

-

For GCC 3.0 and 3.1 they are off by default. They can be enabled at - configure time with +

They are off by default for all versions of GCC from 3.0 to 3.4 (the + latest release at the time of writing). + They can be enabled at configure time with --enable-concept-checks. - For 3.1 you can instead #define _GLIBCPP_CONCEPT_CHECKS to enable them - on a per-translation-unit basis. + You can enable them on a per-translation-unit basis with + #define _GLIBCXX_CONCEPT_CHECKS for GCC 3.4 and higher + (or with #define _GLIBCPP_CONCEPT_CHECKS for versions + 3.1, 3.2 and 3.3).

Return to top of page or to the FAQ.