Boost logo

Boost-Commit :

From: xushiweizh_at_[hidden]
Date: 2008-05-07 00:45:40


Author: xushiwei
Date: 2008-05-07 00:45:40 EDT (Wed, 07 May 2008)
New Revision: 45188
URL: http://svn.boost.org/trac/boost/changeset/45188

Log:
exception semantics.
Text files modified:
   sandbox/memory/boost/detail/debug.hpp | 4 ++++
   sandbox/memory/boost/detail/log.hpp | 8 ++++----
   sandbox/memory/boost/detail/performance_counter.hpp | 4 ++++
   sandbox/memory/boost/memory/basic.hpp | 4 ----
   4 files changed, 12 insertions(+), 8 deletions(-)

Modified: sandbox/memory/boost/detail/debug.hpp
==============================================================================
--- sandbox/memory/boost/detail/debug.hpp (original)
+++ sandbox/memory/boost/detail/debug.hpp 2008-05-07 00:45:40 EDT (Wed, 07 May 2008)
@@ -12,6 +12,10 @@
 #ifndef BOOST_DETAIL_DEBUG_HPP
 #define BOOST_DETAIL_DEBUG_HPP
 
+#if defined(_MSC_VER) && !defined(_INC_CRTDBG)
+#include <crtdbg.h> // _CrtSetDbgFlag, _ASSERTE
+#endif
+
 // -------------------------------------------------------------------------
 // BOOST_DETAIL_ASSERT - diagnost
 

Modified: sandbox/memory/boost/detail/log.hpp
==============================================================================
--- sandbox/memory/boost/detail/log.hpp (original)
+++ sandbox/memory/boost/detail/log.hpp 2008-05-07 00:45:40 EDT (Wed, 07 May 2008)
@@ -12,12 +12,12 @@
 #ifndef BOOST_DETAIL_LOG_HPP
 #define BOOST_DETAIL_LOG_HPP
 
-#if !defined(_INC_STDIO) && !defined(_STDIO_H)
-#include <stdio.h> // vprintf, vfprintf
+#if !defined(_CSTDIO_) && !defined(_CSTDIO)
+#include <cstdio> // vprintf, vfprintf
 #endif
 
-#if !defined(_INC_STDARG) && !defined(_STDARG_H)
-#include <stdarg.h> // va_list
+#if !defined(_CSTDARG_) && !defined(_CSTDARG)
+#include <cstdarg> // va_list
 #endif
 
 // -------------------------------------------------------------------------

Modified: sandbox/memory/boost/detail/performance_counter.hpp
==============================================================================
--- sandbox/memory/boost/detail/performance_counter.hpp (original)
+++ sandbox/memory/boost/detail/performance_counter.hpp 2008-05-07 00:45:40 EDT (Wed, 07 May 2008)
@@ -12,6 +12,10 @@
 #ifndef BOOST_DETAIL_PERFORMANCE_COUNTER_HPP
 #define BOOST_DETAIL_PERFORMANCE_COUNTER_HPP
 
+#ifndef BOOST_DETAIL_WINAPI_WINBASE_H
+#include <boost/detail/winapi/winbase.h>
+#endif
+
 #ifndef BOOST_DETAIL_LOG_HPP
 #include "log.hpp"
 #endif

Modified: sandbox/memory/boost/memory/basic.hpp
==============================================================================
--- sandbox/memory/boost/memory/basic.hpp (original)
+++ sandbox/memory/boost/memory/basic.hpp 2008-05-07 00:45:40 EDT (Wed, 07 May 2008)
@@ -26,10 +26,6 @@
 #include <malloc.h> // _alloca
 #endif
 
-#if defined(_MSC_VER) && !defined(_INC_CRTDBG)
-#include <crtdbg.h> // _CrtSetDbgFlag
-#endif
-
 #ifndef BOOST_DETAIL_DEBUG_HPP
 #include <boost/detail/debug.hpp>
 #endif


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