Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65137 - in trunk: boost/typeof libs/typeof/doc
From: peder.holt_at_[hidden]
Date: 2010-08-30 16:08:29


Author: burbelgruff
Date: 2010-08-30 16:08:29 EDT (Mon, 30 Aug 2010)
New Revision: 65137
URL: http://svn.boost.org/trac/boost/changeset/65137

Log:
#4605: Make BOOST_TYPEOF_SILENT default
BOOST_TYPEOF_SILENT has been removed and BOOST_TYPEOF_MESSAGES has been added.
Messages are now hidden by default, and you have to define BOOST_TYPEOF_MESSAGES to see them at all.
Text files modified:
   trunk/boost/typeof/message.hpp | 2 +-
   trunk/libs/typeof/doc/typeof.qbk | 10 +++++-----
   2 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/typeof/message.hpp
==============================================================================
--- trunk/boost/typeof/message.hpp (original)
+++ trunk/boost/typeof/message.hpp 2010-08-30 16:08:29 EDT (Mon, 30 Aug 2010)
@@ -2,7 +2,7 @@
 // Use, modification and distribution is subject to the Boost Software
 // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
 
-#if defined(_MSC_VER) && !defined BOOST_TYPEOF_SILENT
+#if defined(_MSC_VER) && defined BOOST_TYPEOF_MESSAGES
 # pragma message(BOOST_TYPEOF_TEXT)
 #endif
 #undef BOOST_TYPEOF_TEXT

Modified: trunk/libs/typeof/doc/typeof.qbk
==============================================================================
--- trunk/libs/typeof/doc/typeof.qbk (original)
+++ trunk/libs/typeof/doc/typeof.qbk 2010-08-30 16:08:29 EDT (Mon, 30 Aug 2010)
@@ -1,4 +1,4 @@
-[library Boost.Typeof
+[library Boost.Typeof
     [authors [Vertleyb, Arkadiy], [Holt, Peder]]
     [copyright 2004 2005 Arkadiy Vertleyb, Peder Holt]
     [license
@@ -383,11 +383,11 @@
    
 [endsect]
 
-[section:silent SILENT]
+[section:messages MESSAGES]
 
-Define `BOOST_TYPEOF_SILENT` before including boost/typeof/typeof.hpp to
-supress the messages "using typeof emulation" and "using native typeof".
-By default, these messages will be displayed when compiling a file including boost/typeof/typeof.hpp.
+Define `BOOST_TYPEOF_MESSAGE` before including boost/typeof/typeof.hpp to
+include messages "using typeof emulation" and "using native typeof".
+By default, these messages will not be displayed.
 
 [endsect]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk