Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-11-12 10:40:46


Author: jtorjo
Date: 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
New Revision: 41035
URL: http://svn.boost.org/trac/boost/changeset/41035

Log:
[logging]
v0.11.8, 12 nov 2007
- fixed bug when including only macros.hpp file - many thanks Jens Seidel!
Text files modified:
   sandbox/logging/boost/logging/detail/fwd.hpp | 7 +++++++
   sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp | 3 ++-
   sandbox/logging/boost/logging/detail/tss/tss.hpp | 1 -
   sandbox/logging/boost/logging/macros.hpp | 16 ++++++----------
   sandbox/logging/lib/logging/internal/gcc/main.cpp | 10 +++-------
   5 files changed, 18 insertions(+), 19 deletions(-)

Modified: sandbox/logging/boost/logging/detail/fwd.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/fwd.hpp (original)
+++ sandbox/logging/boost/logging/detail/fwd.hpp 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
@@ -21,6 +21,13 @@
 # pragma once
 #endif
 
+#include <boost/logging/detail/fwd.hpp>
+#include <time.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <boost/logging/detail/log_keeper.hpp>
+#include <boost/logging/macros.hpp>
+
 #include <boost/logging/detail/ts/ts.hpp>
 #include <boost/logging/detail/ts/ts_resource.hpp>
 #include <boost/logging/detail/util.hpp>

Modified: sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp (original)
+++ sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
@@ -1,7 +1,8 @@
 /**
 @page page_changelog Changelog
 
-_at_section changelog_cur_ver Current Version: v0.11.7, 12 nov 2007
+@section changelog_cur_ver Current Version: v0.11.8, 12 nov 2007
+- fixed bug when including only macros.hpp file - many thanks Jens Seidel!
 - added Boost.Logging Requirements page
 - added tags - and documented them
 - applied patch from Jens Seidel - many thanks!

Modified: sandbox/logging/boost/logging/detail/tss/tss.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/tss/tss.hpp (original)
+++ sandbox/logging/boost/logging/detail/tss/tss.hpp 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
@@ -24,7 +24,6 @@
 #if !defined(BOOST_LOG_NO_TSS)
 
 #include <boost/logging/detail/fwd.hpp>
-#include <boost/logging/macros.hpp>
 
 #if defined(BOOST_LOG_TSS_USE_INTERNAL)
 // use internal implementation

Modified: sandbox/logging/boost/logging/macros.hpp
==============================================================================
--- sandbox/logging/boost/logging/macros.hpp (original)
+++ sandbox/logging/boost/logging/macros.hpp 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
@@ -21,11 +21,12 @@
 # pragma once
 #endif
 
-#include <boost/logging/detail/fwd.hpp>
-#include <time.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <boost/logging/detail/log_keeper.hpp>
+#if !defined(BOOST_LOG_TSS_USE_INTERNAL) && !defined(BOOST_LOG_TSS_USE_BOOST) && !defined(BOOST_LOG_TSS_USE_CUSTOM) && !defined(BOOST_LOG_NO_TSS)
+// use has not specified what TSS strategy to use
+#define BOOST_LOG_TSS_USE_INTERNAL
+
+#endif
+
 #include <boost/current_function.hpp>
 
 namespace boost { namespace logging {
@@ -79,11 +80,6 @@
 
 
 
-#if !defined(BOOST_LOG_TSS_USE_INTERNAL) && !defined(BOOST_LOG_TSS_USE_BOOST) && !defined(BOOST_LOG_TSS_USE_CUSTOM) && !defined(BOOST_LOG_NO_TSS)
-// use has not specified what TSS strategy to use
-#define BOOST_LOG_TSS_USE_INTERNAL
-
-#endif
 
 
 

Modified: sandbox/logging/lib/logging/internal/gcc/main.cpp
==============================================================================
--- sandbox/logging/lib/logging/internal/gcc/main.cpp (original)
+++ sandbox/logging/lib/logging/internal/gcc/main.cpp 2007-11-12 10:40:45 EST (Mon, 12 Nov 2007)
@@ -1,13 +1,9 @@
-#include <cstdlib>
-#include <iostream>
+#include <boost/logging/macros.hpp>
+#include <boost/logging/detail/fwd.hpp>
 
 
-using namespace std;
-void custom_fmt_dest_example() ;
 
 int main()
 {
- custom_fmt_dest_example();
-
- return EXIT_SUCCESS;
+ return 0;
 }


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