Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81478 - sandbox/tools/profile_templates2/src
From: dsaritz_at_[hidden]
Date: 2012-11-22 05:06:04


Author: psiha
Date: 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
New Revision: 81478
URL: http://svn.boost.org/trac/boost/changeset/81478

Log:
Fixed build not to require linking with Boost.DateTime.
Pruned include directives.
Updated copyright years.
Text files modified:
   sandbox/tools/profile_templates2/src/filter.cpp | 2 +-
   sandbox/tools/profile_templates2/src/filter.hpp | 2 +-
   sandbox/tools/profile_templates2/src/postprocess.cpp | 22 ++++++++++++----------
   sandbox/tools/profile_templates2/src/postprocess.hpp | 2 +-
   sandbox/tools/profile_templates2/src/preprocess.cpp | 5 +++--
   sandbox/tools/profile_templates2/src/preprocess.hpp | 2 +-
   6 files changed, 19 insertions(+), 16 deletions(-)

Modified: sandbox/tools/profile_templates2/src/filter.cpp
==============================================================================
--- sandbox/tools/profile_templates2/src/filter.cpp (original)
+++ sandbox/tools/profile_templates2/src/filter.cpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -4,7 +4,7 @@
 /// ----------
 ///
 /// Copyright (c) 2008-2009 Steven Watanabe
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/tools/profile_templates2/src/filter.hpp
==============================================================================
--- sandbox/tools/profile_templates2/src/filter.hpp (original)
+++ sandbox/tools/profile_templates2/src/filter.hpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -3,7 +3,7 @@
 /// \file filter.hpp
 /// ----------------
 ///
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/tools/profile_templates2/src/postprocess.cpp
==============================================================================
--- sandbox/tools/profile_templates2/src/postprocess.cpp (original)
+++ sandbox/tools/profile_templates2/src/postprocess.cpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -4,7 +4,7 @@
 /// ---------------
 ///
 /// Copyright (c) 2008-2009 Steven Watanabe
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at
@@ -15,24 +15,26 @@
 ////////////////////////////////////////////////////////////////////////////////
 //------------------------------------------------------------------------------
 #undef BOOST_ENABLE_ASSERT_HANDLER
+
+#define BOOST_DATE_TIME_NO_LIB
 #define BOOST_XPRESSIVE_USE_C_TRAITS
 
 #include "postprocess.hpp"
 
 #include "boost/xpressive/xpressive.hpp"
-#include <boost/foreach.hpp>
-#include <boost/lexical_cast.hpp>
-#include <boost/numeric/conversion/cast.hpp>
-#include <boost/ptr_container/ptr_vector.hpp>
+#include "boost/foreach.hpp"
+#include "boost/lexical_cast.hpp"
+#include "boost/numeric/conversion/cast.hpp"
+#include "boost/ptr_container/ptr_vector.hpp"
 
-#include <string>
+#include <algorithm>
+#include <exception>
 #include <fstream>
+#include <iomanip>
+#include <iterator>
 #include <map>
 #include <set>
-#include <exception>
-#include <iterator>
-#include <algorithm>
-#include <iomanip>
+#include <string>
 #include <vector>
 //------------------------------------------------------------------------------
 namespace boost

Modified: sandbox/tools/profile_templates2/src/postprocess.hpp
==============================================================================
--- sandbox/tools/profile_templates2/src/postprocess.hpp (original)
+++ sandbox/tools/profile_templates2/src/postprocess.hpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -3,7 +3,7 @@
 /// \file postprocess.hpp
 /// ---------------------
 ///
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/tools/profile_templates2/src/preprocess.cpp
==============================================================================
--- sandbox/tools/profile_templates2/src/preprocess.cpp (original)
+++ sandbox/tools/profile_templates2/src/preprocess.cpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -3,8 +3,8 @@
 /// \file preprocess.cpp
 /// --------------------
 ///
-/// Copyright (c) 2008.-2009. Steven Watanabe (preprocess.pl)
-/// Copyright (c) 2011. Domagoj Saric
+/// Copyright (c) 2008-2009 Steven Watanabe (preprocess.pl)
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the
 /// Boost Software License, Version 1.0.
@@ -17,6 +17,7 @@
 //------------------------------------------------------------------------------
 #undef BOOST_ENABLE_ASSERT_HANDLER
 
+#define BOOST_DATE_TIME_NO_LIB
 #define BOOST_XPRESSIVE_USE_C_TRAITS
 
 #include "preprocess.hpp"

Modified: sandbox/tools/profile_templates2/src/preprocess.hpp
==============================================================================
--- sandbox/tools/profile_templates2/src/preprocess.hpp (original)
+++ sandbox/tools/profile_templates2/src/preprocess.hpp 2012-11-22 05:06:03 EST (Thu, 22 Nov 2012)
@@ -3,7 +3,7 @@
 /// \file preprocess.hpp
 /// --------------------
 ///
-/// Copyright (c) 2011 Domagoj Saric
+/// Copyright (c) 2011-2012 Domagoj Saric
 ///
 /// Use, modification and distribution is subject to the Boost Software License, Version 1.0.
 /// (See accompanying file LICENSE_1_0.txt or copy at


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