|
Boost-Commit : |
From: ramey_at_[hidden]
Date: 2008-06-21 21:10:56
Author: ramey
Date: 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
New Revision: 46598
URL: http://svn.boost.org/trac/boost/changeset/46598
Log:
included cstddef to define null_deleter
added BOOST_USED in export.hpp to accommodate Intel compilers
Text files modified:
trunk/libs/serialization/example/demo.cpp | 1 +
trunk/libs/serialization/example/demo_dll.cpp | 1 +
trunk/libs/serialization/example/demo_exception.cpp | 1 +
trunk/libs/serialization/example/demo_shared_ptr.cpp | 1 +
trunk/libs/serialization/src/basic_iarchive.cpp | 2 +-
trunk/libs/serialization/src/basic_iserializer.cpp | 2 ++
trunk/libs/serialization/src/basic_oarchive.cpp | 1 +
trunk/libs/serialization/src/basic_oserializer.cpp | 2 ++
trunk/libs/serialization/src/extended_type_info.cpp | 1 +
trunk/libs/serialization/src/extended_type_info_no_rtti.cpp | 4 +++-
trunk/libs/serialization/src/extended_type_info_typeid.cpp | 1 +
trunk/libs/serialization/src/void_cast.cpp | 1 +
trunk/libs/serialization/test/D.hpp | 2 ++
trunk/libs/serialization/test/test_array.cpp | 2 ++
trunk/libs/serialization/test/test_binary.cpp | 5 +++--
trunk/libs/serialization/test/test_codecvt_null.cpp | 2 +-
trunk/libs/serialization/test/test_complex.cpp | 4 +++-
trunk/libs/serialization/test/test_contained_class.cpp | 1 +
trunk/libs/serialization/test/test_cyclic_ptrs.cpp | 1 +
trunk/libs/serialization/test/test_delete_pointer.cpp | 1 +
trunk/libs/serialization/test/test_deque.cpp | 1 +
trunk/libs/serialization/test/test_derived.cpp | 1 +
trunk/libs/serialization/test/test_derived_class_ptr.cpp | 1 +
trunk/libs/serialization/test/test_diamond.cpp | 3 ++-
trunk/libs/serialization/test/test_dll_exported.cpp | 1 +
trunk/libs/serialization/test/test_dll_simple.cpp | 1 +
trunk/libs/serialization/test/test_exported.cpp | 3 ++-
trunk/libs/serialization/test/test_list.cpp | 3 ++-
trunk/libs/serialization/test/test_list_ptrs.cpp | 3 ++-
trunk/libs/serialization/test/test_map.cpp | 2 +-
trunk/libs/serialization/test/test_mi.cpp | 3 ++-
trunk/libs/serialization/test/test_mult_archive_types.cpp | 3 ++-
trunk/libs/serialization/test/test_multiple_ptrs.cpp | 3 ++-
trunk/libs/serialization/test/test_no_rtti.cpp | 3 ++-
trunk/libs/serialization/test/test_non_default_ctor.cpp | 3 ++-
trunk/libs/serialization/test/test_null_ptr.cpp | 3 ++-
trunk/libs/serialization/test/test_nvp.cpp | 3 ++-
trunk/libs/serialization/test/test_object.cpp | 3 ++-
trunk/libs/serialization/test/test_optional.cpp | 4 +++-
trunk/libs/serialization/test/test_polymorphic.cpp | 3 ++-
trunk/libs/serialization/test/test_primitive.cpp | 1 +
trunk/libs/serialization/test/test_recursion.cpp | 3 ++-
trunk/libs/serialization/test/test_registered.cpp | 3 ++-
trunk/libs/serialization/test/test_set.cpp | 6 ++++--
trunk/libs/serialization/test/test_shared_ptr.cpp | 3 ++-
trunk/libs/serialization/test/test_shared_ptr_132.cpp | 1 +
trunk/libs/serialization/test/test_simple_class.cpp | 3 ++-
trunk/libs/serialization/test/test_simple_class_ptr.cpp | 3 ++-
trunk/libs/serialization/test/test_split.cpp | 3 ++-
trunk/libs/serialization/test/test_tracking.cpp | 3 ++-
trunk/libs/serialization/test/test_unregistered.cpp | 1 +
trunk/libs/serialization/test/test_valarray.cpp | 1 +
trunk/libs/serialization/test/test_variant.cpp | 3 ++-
trunk/libs/serialization/test/test_vector.cpp | 1 +
trunk/libs/serialization/test/test_void_cast.cpp | 1 +
55 files changed, 91 insertions(+), 31 deletions(-)
Modified: trunk/libs/serialization/example/demo.cpp
==============================================================================
--- trunk/libs/serialization/example/demo.cpp (original)
+++ trunk/libs/serialization/example/demo.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -7,6 +7,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
+#include <cstddef> // NULL
#include <iomanip>
#include <iostream>
#include <fstream>
Modified: trunk/libs/serialization/example/demo_dll.cpp
==============================================================================
--- trunk/libs/serialization/example/demo_dll.cpp (original)
+++ trunk/libs/serialization/example/demo_dll.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/example/demo_exception.cpp
==============================================================================
--- trunk/libs/serialization/example/demo_exception.cpp (original)
+++ trunk/libs/serialization/example/demo_exception.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -19,6 +19,7 @@
#include <algorithm>
#include <iostream>
+#include <cstddef> // NULL
#include <fstream>
#include <string>
Modified: trunk/libs/serialization/example/demo_shared_ptr.cpp
==============================================================================
--- trunk/libs/serialization/example/demo_shared_ptr.cpp (original)
+++ trunk/libs/serialization/example/demo_shared_ptr.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -11,6 +11,7 @@
#include <iomanip>
#include <iostream>
+#include <cstddef> // NULL
#include <fstream>
#include <string>
Modified: trunk/libs/serialization/src/basic_iarchive.cpp
==============================================================================
--- trunk/libs/serialization/src/basic_iarchive.cpp (original)
+++ trunk/libs/serialization/src/basic_iarchive.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -14,7 +14,7 @@
#include <set>
#include <list>
#include <vector>
-#include <cstddef> // size_t
+#include <cstddef> // size_t, NULL
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
Modified: trunk/libs/serialization/src/basic_iserializer.cpp
==============================================================================
--- trunk/libs/serialization/src/basic_iserializer.cpp (original)
+++ trunk/libs/serialization/src/basic_iserializer.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,8 @@
// See http://www.boost.org for updates, documentation, and revision history.
+#include <cstddef> // NULL
+
#define BOOST_ARCHIVE_SOURCE
#include <boost/archive/detail/basic_iserializer.hpp>
Modified: trunk/libs/serialization/src/basic_oarchive.cpp
==============================================================================
--- trunk/libs/serialization/src/basic_oarchive.cpp (original)
+++ trunk/libs/serialization/src/basic_oarchive.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -12,6 +12,7 @@
#include <cassert>
#include <set>
+#include <cstddef> // NULL
#include <boost/limits.hpp>
#include <boost/state_saver.hpp>
Modified: trunk/libs/serialization/src/basic_oserializer.cpp
==============================================================================
--- trunk/libs/serialization/src/basic_oserializer.cpp (original)
+++ trunk/libs/serialization/src/basic_oserializer.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,8 @@
// See http://www.boost.org for updates, documentation, and revision history.
+#include <cstddef> // NULL
+
#define BOOST_ARCHIVE_SOURCE
#include <boost/archive/detail/basic_oserializer.hpp>
Modified: trunk/libs/serialization/src/extended_type_info.cpp
==============================================================================
--- trunk/libs/serialization/src/extended_type_info.cpp (original)
+++ trunk/libs/serialization/src/extended_type_info.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -16,6 +16,7 @@
#include <set>
#include <utility>
#include <cassert>
+#include <cstddef> // NULL
#include <boost/config.hpp> // msvc needs this to suppress warning
Modified: trunk/libs/serialization/src/extended_type_info_no_rtti.cpp
==============================================================================
--- trunk/libs/serialization/src/extended_type_info_no_rtti.cpp (original)
+++ trunk/libs/serialization/src/extended_type_info_no_rtti.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -9,8 +9,10 @@
// See http://www.boost.org for updates, documentation, and revision history.
-#include <boost/config.hpp>
#include <cstring>
+#include <cstddef> // NULL
+
+#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{ using ::strcmp; }
#endif
Modified: trunk/libs/serialization/src/extended_type_info_typeid.cpp
==============================================================================
--- trunk/libs/serialization/src/extended_type_info_typeid.cpp (original)
+++ trunk/libs/serialization/src/extended_type_info_typeid.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -13,6 +13,7 @@
#include <set>
#include <cassert>
#include <typeinfo>
+#include <cstddef> // NULL
#include <boost/detail/no_exceptions_support.hpp>
Modified: trunk/libs/serialization/src/void_cast.cpp
==============================================================================
--- trunk/libs/serialization/src/void_cast.cpp (original)
+++ trunk/libs/serialization/src/void_cast.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -14,6 +14,7 @@
#endif
#include <cassert>
+#include <cstddef> // NULL
// STL
#include <vector>
Modified: trunk/libs/serialization/test/D.hpp
==============================================================================
--- trunk/libs/serialization/test/D.hpp (original)
+++ trunk/libs/serialization/test/D.hpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -16,6 +16,8 @@
// See http://www.boost.org for updates, documentation, and revision history.
+#include <cstddef> // NULL
+
#include "test_tools.hpp"
#include <boost/detail/no_exceptions_support.hpp>
#include <boost/throw_exception.hpp>
Modified: trunk/libs/serialization/test/test_array.cpp
==============================================================================
--- trunk/libs/serialization/test/test_array.cpp (original)
+++ trunk/libs/serialization/test/test_array.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,7 +8,9 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
+
#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
Modified: trunk/libs/serialization/test/test_binary.cpp
==============================================================================
--- trunk/libs/serialization/test/test_binary.cpp (original)
+++ trunk/libs/serialization/test/test_binary.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,11 +8,12 @@
// should pass compilation and execution
+#include <cstdlib> // for rand(), NULL
+
#include <fstream>
+#include <boost/config.hpp>
-#include <cstdlib> // for rand()
#include <cstdio> // remove
-#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::rand;
Modified: trunk/libs/serialization/test/test_codecvt_null.cpp
==============================================================================
--- trunk/libs/serialization/test/test_codecvt_null.cpp (original)
+++ trunk/libs/serialization/test/test_codecvt_null.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -16,7 +16,7 @@
#include <iterator>
#include <locale>
#include <vector>
-#include <cstddef>
+#include <cstddef> // NULL
#include <cstdio> // remove
#include <boost/config.hpp>
Modified: trunk/libs/serialization/test/test_complex.cpp
==============================================================================
--- trunk/libs/serialization/test/test_complex.cpp (original)
+++ trunk/libs/serialization/test/test_complex.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -10,10 +10,12 @@
#include <fstream>
-#include <cstdio> // remove
+#include <cstddef> // NULL
#include <cstdlib> // rand
#include <limits>
#include <boost/config.hpp>
+
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_contained_class.cpp
==============================================================================
--- trunk/libs/serialization/test/test_contained_class.cpp (original)
+++ trunk/libs/serialization/test/test_contained_class.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_cyclic_ptrs.cpp
==============================================================================
--- trunk/libs/serialization/test/test_cyclic_ptrs.cpp (original)
+++ trunk/libs/serialization/test/test_cyclic_ptrs.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_delete_pointer.cpp
==============================================================================
--- trunk/libs/serialization/test/test_delete_pointer.cpp (original)
+++ trunk/libs/serialization/test/test_delete_pointer.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -7,6 +7,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
//
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_deque.cpp
==============================================================================
--- trunk/libs/serialization/test/test_deque.cpp (original)
+++ trunk/libs/serialization/test/test_deque.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_derived.cpp
==============================================================================
--- trunk/libs/serialization/test/test_derived.cpp (original)
+++ trunk/libs/serialization/test/test_derived.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_derived_class_ptr.cpp
==============================================================================
--- trunk/libs/serialization/test/test_derived_class_ptr.cpp (original)
+++ trunk/libs/serialization/test/test_derived_class_ptr.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_diamond.cpp
==============================================================================
--- trunk/libs/serialization/test/test_diamond.cpp (original)
+++ trunk/libs/serialization/test/test_diamond.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,11 +8,12 @@
// test of serialization library for diamond intheritence situations
+#include <cstddef> // NULL
#include <fstream>
#include <iostream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_dll_exported.cpp
==============================================================================
--- trunk/libs/serialization/test/test_dll_exported.cpp (original)
+++ trunk/libs/serialization/test/test_dll_exported.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_dll_simple.cpp
==============================================================================
--- trunk/libs/serialization/test/test_dll_simple.cpp (original)
+++ trunk/libs/serialization/test/test_dll_simple.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -10,6 +10,7 @@
// invoke header for a custom archive test.
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_exported.cpp
==============================================================================
--- trunk/libs/serialization/test/test_exported.cpp (original)
+++ trunk/libs/serialization/test/test_exported.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,11 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_list.cpp
==============================================================================
--- trunk/libs/serialization/test/test_list.cpp (original)
+++ trunk/libs/serialization/test/test_list.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,11 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_list_ptrs.cpp
==============================================================================
--- trunk/libs/serialization/test/test_list_ptrs.cpp (original)
+++ trunk/libs/serialization/test/test_list_ptrs.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,11 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_map.cpp
==============================================================================
--- trunk/libs/serialization/test/test_map.cpp (original)
+++ trunk/libs/serialization/test/test_map.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -11,7 +11,7 @@
#include <algorithm>
#include <vector>
#include <fstream>
-#include <cstddef> // size_t
+#include <cstddef> // size_t, NULL
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/libs/serialization/test/test_mi.cpp
==============================================================================
--- trunk/libs/serialization/test/test_mi.cpp (original)
+++ trunk/libs/serialization/test/test_mi.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -9,11 +9,12 @@
// test of serialization of base classes with multiple inheritance
// contributed by Peter Dimov
+#include <cstddef>
#include <iostream>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_mult_archive_types.cpp
==============================================================================
--- trunk/libs/serialization/test/test_mult_archive_types.cpp (original)
+++ trunk/libs/serialization/test/test_mult_archive_types.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -6,10 +6,11 @@
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
+#include <cstddef>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_multiple_ptrs.cpp
==============================================================================
--- trunk/libs/serialization/test/test_multiple_ptrs.cpp (original)
+++ trunk/libs/serialization/test/test_multiple_ptrs.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,11 @@
// should pass compilation and execution
+#include <cstddef>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_no_rtti.cpp
==============================================================================
--- trunk/libs/serialization/test/test_no_rtti.cpp (original)
+++ trunk/libs/serialization/test/test_no_rtti.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -14,10 +14,11 @@
// As this program uses RTTI for one of the types, the test will fail
// on a system for which RTTI is not enabled or not existent.
+#include <cstddef>
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_non_default_ctor.cpp
==============================================================================
--- trunk/libs/serialization/test/test_non_default_ctor.cpp (original)
+++ trunk/libs/serialization/test/test_non_default_ctor.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -12,9 +12,10 @@
// a) non-intrusive method of implementing serialization
// b) usage of a non-default constructor
+#include <cstddef> // NULL
+#include <cstdio> // remove()
#include <fstream>
#include <cstdlib> // for rand()
-#include <cstdio> // remove()
#include <cmath> // for fabs()
#include <limits>
Modified: trunk/libs/serialization/test/test_null_ptr.cpp
==============================================================================
--- trunk/libs/serialization/test/test_null_ptr.cpp (original)
+++ trunk/libs/serialization/test/test_null_ptr.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_nvp.cpp
==============================================================================
--- trunk/libs/serialization/test/test_nvp.cpp (original)
+++ trunk/libs/serialization/test/test_nvp.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_object.cpp
==============================================================================
--- trunk/libs/serialization/test/test_object.cpp (original)
+++ trunk/libs/serialization/test/test_object.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -9,9 +9,10 @@
// test implementation level "object_serializable"
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_optional.cpp
==============================================================================
--- trunk/libs/serialization/test/test_optional.cpp (original)
+++ trunk/libs/serialization/test/test_optional.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,12 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
+
#include <boost/config.hpp>
-#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_polymorphic.cpp
==============================================================================
--- trunk/libs/serialization/test/test_polymorphic.cpp (original)
+++ trunk/libs/serialization/test/test_polymorphic.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_primitive.cpp
==============================================================================
--- trunk/libs/serialization/test/test_primitive.cpp (original)
+++ trunk/libs/serialization/test/test_primitive.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// test implementation level "primitive_type"
+#include <cstddef> // NULL
#include <fstream>
#include "test_tools.hpp"
Modified: trunk/libs/serialization/test/test_recursion.cpp
==============================================================================
--- trunk/libs/serialization/test/test_recursion.cpp (original)
+++ trunk/libs/serialization/test/test_recursion.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_registered.cpp
==============================================================================
--- trunk/libs/serialization/test/test_registered.cpp (original)
+++ trunk/libs/serialization/test/test_registered.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_set.cpp
==============================================================================
--- trunk/libs/serialization/test/test_set.cpp (original)
+++ trunk/libs/serialization/test/test_set.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,11 +8,13 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
+#include <fstream>
+
#include <algorithm>
#include <vector>
-#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Modified: trunk/libs/serialization/test/test_shared_ptr.cpp
==============================================================================
--- trunk/libs/serialization/test/test_shared_ptr.cpp (original)
+++ trunk/libs/serialization/test/test_shared_ptr.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
//
// See http://www.boost.org for updates, documentation, and revision history.
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_shared_ptr_132.cpp
==============================================================================
--- trunk/libs/serialization/test/test_shared_ptr_132.cpp (original)
+++ trunk/libs/serialization/test/test_shared_ptr_132.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
//
// See http://www.boost.org for updates, documentation, and revision history.
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_simple_class.cpp
==============================================================================
--- trunk/libs/serialization/test/test_simple_class.cpp (original)
+++ trunk/libs/serialization/test/test_simple_class.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -10,9 +10,10 @@
// invoke header for a custom archive test.
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
Modified: trunk/libs/serialization/test/test_simple_class_ptr.cpp
==============================================================================
--- trunk/libs/serialization/test/test_simple_class_ptr.cpp (original)
+++ trunk/libs/serialization/test/test_simple_class_ptr.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_split.cpp
==============================================================================
--- trunk/libs/serialization/test/test_split.cpp (original)
+++ trunk/libs/serialization/test/test_split.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,9 +8,10 @@
// should pass compilation and execution
+#include <cstddef> // NULL
+#include <cstdio> // remove
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
Modified: trunk/libs/serialization/test/test_tracking.cpp
==============================================================================
--- trunk/libs/serialization/test/test_tracking.cpp (original)
+++ trunk/libs/serialization/test/test_tracking.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,10 +8,11 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
-#include <cstdio> // remove
#include <boost/config.hpp>
+#include <cstdio> // remove
#if defined(BOOST_NO_STDC_NAMESPACE)
namespace std{
using ::remove;
Modified: trunk/libs/serialization/test/test_unregistered.cpp
==============================================================================
--- trunk/libs/serialization/test/test_unregistered.cpp (original)
+++ trunk/libs/serialization/test/test_unregistered.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -10,6 +10,7 @@
#include <fstream>
+#include <cstddef> // NULL
#include <cstdio> // remove
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
Modified: trunk/libs/serialization/test/test_valarray.cpp
==============================================================================
--- trunk/libs/serialization/test/test_valarray.cpp (original)
+++ trunk/libs/serialization/test/test_valarray.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_variant.cpp
==============================================================================
--- trunk/libs/serialization/test/test_variant.cpp (original)
+++ trunk/libs/serialization/test/test_variant.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -15,8 +15,9 @@
// thanks to Robert Ramey and Peter Dimov.
//
-#include <fstream>
+#include <cstddef> // NULL
#include <cstdio> // remove
+#include <fstream>
#include <cmath> // for fabs()
#include <boost/config.hpp>
#if defined(BOOST_NO_STDC_NAMESPACE)
Modified: trunk/libs/serialization/test/test_vector.cpp
==============================================================================
--- trunk/libs/serialization/test/test_vector.cpp (original)
+++ trunk/libs/serialization/test/test_vector.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -8,6 +8,7 @@
// should pass compilation and execution
+#include <cstddef> // NULL
#include <fstream>
#include <cstdio> // remove
Modified: trunk/libs/serialization/test/test_void_cast.cpp
==============================================================================
--- trunk/libs/serialization/test/test_void_cast.cpp (original)
+++ trunk/libs/serialization/test/test_void_cast.cpp 2008-06-21 21:10:52 EDT (Sat, 21 Jun 2008)
@@ -7,6 +7,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
// <gennadiy.rozental_at_[hidden]>
+#include <cstddef> // NULL
#include "test_tools.hpp"
#include <boost/serialization/extended_type_info_typeid.hpp>
#include <boost/serialization/void_cast.hpp>
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