Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-03-21 13:19:07


Author: ramey
Date: 2008-03-21 13:19:07 EDT (Fri, 21 Mar 2008)
New Revision: 43758
URL: http://svn.boost.org/trac/boost/changeset/43758

Log:
Adjustment to inhibit compile error with intel compilers
Text files modified:
   trunk/boost/serialization/export.hpp | 11 ++++-------
   1 files changed, 4 insertions(+), 7 deletions(-)

Modified: trunk/boost/serialization/export.hpp
==============================================================================
--- trunk/boost/serialization/export.hpp (original)
+++ trunk/boost/serialization/export.hpp 2008-03-21 13:19:07 EDT (Fri, 21 Mar 2008)
@@ -85,21 +85,18 @@
 template <class Archive, class Serializable>
 struct ptr_serialization_support
 {
-# ifdef BOOST_MSVC
+# if defined(BOOST_MSVC)
     virtual BOOST_DLLEXPORT void instantiate() BOOST_USED;
-
-# elif defined(__BORLANDC__)
-
+# elif defined(__INTEL_COMPILER)
+ virtual BOOST_DLLEXPORT void instantiate() BOOST_USED;
+# elif defined(__BORLANDC__)
     static void instantiate();
     enum { x = sizeof(instantiate(),3) };
-
 # else
-
     static void instantiate();
     typedef instantiate_function<
         &ptr_serialization_support::instantiate
> x;
-
 # endif
 };
 


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