support -fvisibility=hidden in core library - refs #1826
This commit is contained in:
parent
ca1171aa80
commit
d36a7323ac
5 changed files with 11 additions and 5 deletions
|
@ -23,6 +23,8 @@
|
|||
#ifndef MAPNIK_CONFIG_ERROR_HPP
|
||||
#define MAPNIK_CONFIG_ERROR_HPP
|
||||
|
||||
#include <mapnik/config.hpp>
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
|
@ -30,7 +32,7 @@ namespace mapnik {
|
|||
|
||||
class xml_node;
|
||||
|
||||
class config_error : public std::exception
|
||||
class MAPNIK_DECL config_error : public std::exception
|
||||
{
|
||||
public:
|
||||
config_error(std::string const& what);
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#define MAPNIK_EXPRESSIONS_GRAMMAR_HPP
|
||||
|
||||
// mapnik
|
||||
#include <mapnik/config.hpp>
|
||||
#include <mapnik/value_types.hpp>
|
||||
#include <mapnik/unicode.hpp>
|
||||
#include <mapnik/expression_node.hpp>
|
||||
|
@ -116,7 +117,7 @@ struct integer_parser
|
|||
};
|
||||
|
||||
template <typename Iterator>
|
||||
struct expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
|
||||
struct MAPNIK_DECL expression_grammar : qi::grammar<Iterator, expr_node(), space_type>
|
||||
{
|
||||
typedef qi::rule<Iterator, expr_node(), space_type> rule_type;
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
// mapnik
|
||||
#include <mapnik/datasource.hpp> // for featureset_ptr
|
||||
#include <mapnik/config.hpp>
|
||||
|
||||
// stl
|
||||
#include <set>
|
||||
|
@ -48,7 +49,7 @@ enum eAttributeCollectionPolicy
|
|||
};
|
||||
|
||||
template <typename Processor>
|
||||
class feature_style_processor
|
||||
class MAPNIK_DECL feature_style_processor
|
||||
{
|
||||
struct symbol_dispatch;
|
||||
public:
|
||||
|
|
|
@ -40,7 +40,7 @@ namespace mapnik { namespace json {
|
|||
template <typename Iterator, typename FeatureType> struct feature_collection_grammar;
|
||||
|
||||
template <typename Iterator>
|
||||
class feature_collection_parser : private mapnik::noncopyable
|
||||
class MAPNIK_DECL feature_collection_parser : private mapnik::noncopyable
|
||||
{
|
||||
typedef Iterator iterator_type;
|
||||
typedef mapnik::feature_impl feature_type;
|
||||
|
|
|
@ -23,12 +23,14 @@
|
|||
#ifndef MAPNIK_VALUE_ERROR_HPP
|
||||
#define MAPNIK_VALUE_ERROR_HPP
|
||||
|
||||
#include <mapnik/config.hpp>
|
||||
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
namespace mapnik {
|
||||
|
||||
class value_error : public std::exception
|
||||
class MAPNIK_DECL value_error : public std::exception
|
||||
{
|
||||
public:
|
||||
value_error() :
|
||||
|
|
Loading…
Reference in a new issue