mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-26 07:02:09 +00:00
bug shows in intel 7.1
[SVN r24486]
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
|
||||
#include <boost/archive/detail/known_archive_types.hpp>
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#pragma push
|
||||
#pragma opt_dead_code off
|
||||
#endif
|
||||
|
||||
namespace boost {
|
||||
|
||||
namespace archive {
|
||||
@@ -167,7 +172,7 @@ const guid_initializer<T, ASeq> guid_initializer<T, ASeq>::instance
|
||||
#define BOOST_CLASS_EXPORT_GUID_ARCHIVE_LIST(T, K, ASEQ)
|
||||
|
||||
// gcc needs special treatment
|
||||
#elif defined(__GNUC__)
|
||||
#elif defined(__GNUC__) && (__GNUC__ * 10 + __GNUC_MINOR__) < 34
|
||||
#define BOOST_CLASS_EXPORT_GUID_ARCHIVE_LIST(T, K, ASEQ) \
|
||||
namespace boost { namespace archive { namespace detail { \
|
||||
template \
|
||||
@@ -194,7 +199,7 @@ const guid_initializer<T, ASeq> guid_initializer<T, ASeq>::instance
|
||||
template<> \
|
||||
const guid_initializer<T, ASEQ> \
|
||||
guid_initializer<T, ASEQ>::instance(K); \
|
||||
template \
|
||||
template<> \
|
||||
const guid_initializer<T, ASEQ> & \
|
||||
boost_template_instantiate(T &, ASEQ &); \
|
||||
} } } \
|
||||
@@ -234,4 +239,8 @@ const guid_initializer<T, ASeq> guid_initializer<T, ASeq>::instance
|
||||
) \
|
||||
/**/
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#pragma pop
|
||||
#endif
|
||||
|
||||
#endif // BOOST_SERIALIZATION_EXPORT_HPP
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
# if defined(_WIN32)
|
||||
# define BOOST_FORCE_INCLUDE(f) __declspec(dllexport) f
|
||||
# else
|
||||
# define BOOST_FORCE_INCLUDE(f) f __attribute__ ((used))
|
||||
//# define BOOST_FORCE_INCLUDE(f) f __attribute__ ((used))
|
||||
# define BOOST_FORCE_INCLUDE(f) f
|
||||
# endif
|
||||
# endif
|
||||
// MSVC
|
||||
|
||||
Reference in New Issue
Block a user