|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62151 - in trunk/boost/wave: . cpplexer
From: hartmut.kaiser_at_[hidden]
Date: 2010-05-22 13:07:46
Author: hkaiser
Date: 2010-05-22 13:07:45 EDT (Sat, 22 May 2010)
New Revision: 62151
URL: http://svn.boost.org/trac/boost/changeset/62151
Log:
Wave: integrated the new visibility config macros
Text files modified:
trunk/boost/wave/cpp_exceptions.hpp | 6 +++---
trunk/boost/wave/cpplexer/cpplexer_exceptions.hpp | 4 ++--
trunk/boost/wave/wave_config.hpp | 7 +++----
3 files changed, 8 insertions(+), 9 deletions(-)
Modified: trunk/boost/wave/cpp_exceptions.hpp
==============================================================================
--- trunk/boost/wave/cpp_exceptions.hpp (original)
+++ trunk/boost/wave/cpp_exceptions.hpp 2010-05-22 13:07:45 EDT (Sat, 22 May 2010)
@@ -62,7 +62,7 @@
///////////////////////////////////////////////////////////////////////////////
// cpp_exception, the base class for all specific C preprocessor exceptions
-class cpp_exception
+class BOOST_SYMBOL_VISIBLE cpp_exception
: public std::exception
{
public:
@@ -95,7 +95,7 @@
///////////////////////////////////////////////////////////////////////////////
// preprocessor error
-class preprocess_exception :
+class BOOST_SYMBOL_VISIBLE preprocess_exception :
public cpp_exception
{
public:
@@ -366,7 +366,7 @@
///////////////////////////////////////////////////////////////////////////////
// Error during macro handling, this exception contains the related macro name
-class macro_handling_exception :
+class BOOST_SYMBOL_VISIBLE macro_handling_exception :
public preprocess_exception
{
public:
Modified: trunk/boost/wave/cpplexer/cpplexer_exceptions.hpp
==============================================================================
--- trunk/boost/wave/cpplexer/cpplexer_exceptions.hpp (original)
+++ trunk/boost/wave/cpplexer/cpplexer_exceptions.hpp 2010-05-22 13:07:45 EDT (Sat, 22 May 2010)
@@ -128,7 +128,7 @@
///////////////////////////////////////////////////////////////////////////////
// cpplexer_exception, the base class for all specific C++ lexer exceptions
-class cpplexer_exception
+class BOOST_SYMBOL_VISIBLE cpplexer_exception
: public std::exception
{
public:
@@ -160,7 +160,7 @@
///////////////////////////////////////////////////////////////////////////////
// lexing_exception error
-class lexing_exception :
+class BOOST_SYMBOL_VISIBLE lexing_exception :
public cpplexer_exception
{
public:
Modified: trunk/boost/wave/wave_config.hpp
==============================================================================
--- trunk/boost/wave/wave_config.hpp (original)
+++ trunk/boost/wave/wave_config.hpp 2010-05-22 13:07:45 EDT (Sat, 22 May 2010)
@@ -403,15 +403,14 @@
///////////////////////////////////////////////////////////////////////////////
// Set up dll import/export options
-#if defined(BOOST_HAS_DECLSPEC) && \
- (defined(BOOST_WAVE_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
+#if (defined(BOOST_WAVE_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
!defined(BOOST_WAVE_STATIC_LINK)
#if defined(BOOST_WAVE_SOURCE)
-#define BOOST_WAVE_DECL __declspec(dllexport)
+#define BOOST_WAVE_DECL BOOST_SYMBOL_EXPORT
#define BOOST_WAVE_BUILD_DLL
#else
-#define BOOST_WAVE_DECL __declspec(dllimport)
+#define BOOST_WAVE_DECL BOOST_SYMBOL_IMPORT
#endif
#endif // building a shared library
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