Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-11-05 05:17:55


Author: jtorjo
Date: 2007-11-05 05:17:55 EST (Mon, 05 Nov 2007)
New Revision: 40775
URL: http://svn.boost.org/trac/boost/changeset/40775

Log:
[logging]
TSS faulty on Linux
#ifdef it out for now
Text files modified:
   sandbox/logging/boost/logging/detail/tss/tss_impl.hpp | 4 ++++
   sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp | 4 ++--
   2 files changed, 6 insertions(+), 2 deletions(-)

Modified: sandbox/logging/boost/logging/detail/tss/tss_impl.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/tss/tss_impl.hpp (original)
+++ sandbox/logging/boost/logging/detail/tss/tss_impl.hpp 2007-11-05 05:17:55 EST (Mon, 05 Nov 2007)
@@ -24,6 +24,8 @@
 #include <boost/utility.hpp>
 #include <boost/logging/detail/ts/ts.hpp>
 
+#if defined(BOOST_WINDOWS) || defined(BOOST_TEST_TSS_PTHREAD)
+
 
 #define BOOST_LOG_TSS_SLOTS_SIZE 128
 
@@ -80,5 +82,7 @@
 
 }}
 
+#endif
+
 #endif
 

Modified: sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp 2007-11-05 05:17:55 EST (Mon, 05 Nov 2007)
@@ -117,8 +117,8 @@
 // Example of custom destination:
 // Dump each message as XML
 struct as_xml :
- destination::class_<as_xml, formatter::implement_op_equal::has_context>,
- formatter::non_const_context<std::ofstream> {
+ destination::class_<as_xml, destination::implement_op_equal::has_context>,
+ destination::non_const_context<std::ofstream> {
 
     std::string m_name;
     as_xml(const char* name) : non_const_context_base(name), m_name(name) {}


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