From 82919f0d5c95cabf91aff7cee7a610e7a8e19869 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 24 Jan 2006 17:55:56 +0000 Subject: [PATCH] another attempt to fix Code Warrior 9.4 link problem [SVN r32404] --- include/boost/python/docstring_options.hpp | 6 +++--- src/object/function.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/python/docstring_options.hpp b/include/boost/python/docstring_options.hpp index cb874bb7..08346ebc 100755 --- a/include/boost/python/docstring_options.hpp +++ b/include/boost/python/docstring_options.hpp @@ -11,7 +11,7 @@ namespace boost { namespace python { // Note: the static data members are defined in object/function.cpp -class docstring_options : boost::noncopyable +class BOOST_PYTHON_DECL docstring_options : boost::noncopyable { public: docstring_options(bool show_all=true) @@ -65,8 +65,8 @@ class docstring_options : boost::noncopyable friend class objects::function; private: - BOOST_PYTHON_DECL static volatile bool show_user_defined_; - BOOST_PYTHON_DECL static volatile bool show_signatures_; + static volatile bool show_user_defined_; + static volatile bool show_signatures_; bool previous_show_user_defined_; bool previous_show_signatures_; }; diff --git a/src/object/function.cpp b/src/object/function.cpp index 19f48447..653343b9 100644 --- a/src/object/function.cpp +++ b/src/object/function.cpp @@ -28,8 +28,8 @@ #endif namespace boost { namespace python { - BOOST_PYTHON_DECL volatile bool docstring_options::show_user_defined_ = true; - BOOST_PYTHON_DECL volatile bool docstring_options::show_signatures_ = true; + volatile bool docstring_options::show_user_defined_ = true; + volatile bool docstring_options::show_signatures_ = true; }} namespace boost { namespace python { namespace objects {