Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50060 - in sandbox/compile-in-place/Boost_1_35_0/boost: filesystem iostreams program_options regex serialization signals system thread wave
From: doomster_at_[hidden]
Date: 2008-12-02 01:58:05


Author: eckhardt
Date: 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
New Revision: 50060
URL: http://svn.boost.org/trac/boost/changeset/50060

Log:
- Assert necessary macros for compilation in-place.

Text files modified:
   sandbox/compile-in-place/Boost_1_35_0/boost/filesystem/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/iostreams/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/program_options/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/regex/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/serialization/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/signals/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/system/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/thread/compile_in_place.cpp | 5 +++++
   sandbox/compile-in-place/Boost_1_35_0/boost/wave/compile_in_place.cpp | 5 +++++
   9 files changed, 45 insertions(+), 0 deletions(-)

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/filesystem/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/filesystem/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/filesystem/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_FILESYSTEM_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Filesystem in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_FILESYSTEM_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/iostreams/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/iostreams/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/iostreams/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_IOSTREAMS_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.IOStreams in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_IOSTREAMS_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/program_options/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/program_options/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/program_options/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_PROGRAM_OPTIONS_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Program_options in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_PROGRAM_OPTIONS_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/regex/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/regex/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/regex/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_REGEX_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Regex in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_REGEX_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/serialization/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/serialization/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/serialization/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_SERIALIZATION_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Serialization in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_SERIALIZATION_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/signals/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/signals/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/signals/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_SIGNALS_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Signals in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_SIGNALS_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/system/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/system/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/system/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_SYSTEM_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.System in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_SYSTEM_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/thread/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/thread/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/thread/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -5,6 +5,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_THREAD_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Thread in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_THREAD_COMPILE_IN_PLACE_CPP_INCLUDED

Modified: sandbox/compile-in-place/Boost_1_35_0/boost/wave/compile_in_place.cpp
==============================================================================
--- sandbox/compile-in-place/Boost_1_35_0/boost/wave/compile_in_place.cpp (original)
+++ sandbox/compile-in-place/Boost_1_35_0/boost/wave/compile_in_place.cpp 2008-12-02 01:58:03 EST (Tue, 02 Dec 2008)
@@ -7,6 +7,11 @@
 */
 // $Id$
 
+// The code must be set up for in-place compilation
+#if !defined(BOOST_ALL_COMPILE_IN_PLACE) && !defined(BOOST_WAVE_COMPILE_IN_PLACE)
+# error "this file should only be included when compiling Boost.Wave in place"
+#endif
+
 // This file must not be included more than once. Note that this 'once' is
 // not per translation unit but per binary! Never include this in a header!
 #ifdef BOOST_WAVE_COMPILE_IN_PLACE_CPP_INCLUDED


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