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
|
#ifndef MAPNIK_CONFIG_ERROR_HPP
|
||||||
#define MAPNIK_CONFIG_ERROR_HPP
|
#define MAPNIK_CONFIG_ERROR_HPP
|
||||||
|
|
||||||
|
#include <mapnik/config.hpp>
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -30,7 +32,7 @@ namespace mapnik {
|
||||||
|
|
||||||
class xml_node;
|
class xml_node;
|
||||||
|
|
||||||
class config_error : public std::exception
|
class MAPNIK_DECL config_error : public std::exception
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
config_error(std::string const& what);
|
config_error(std::string const& what);
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#define MAPNIK_EXPRESSIONS_GRAMMAR_HPP
|
#define MAPNIK_EXPRESSIONS_GRAMMAR_HPP
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/value_types.hpp>
|
#include <mapnik/value_types.hpp>
|
||||||
#include <mapnik/unicode.hpp>
|
#include <mapnik/unicode.hpp>
|
||||||
#include <mapnik/expression_node.hpp>
|
#include <mapnik/expression_node.hpp>
|
||||||
|
@ -116,7 +117,7 @@ struct integer_parser
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Iterator>
|
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;
|
typedef qi::rule<Iterator, expr_node(), space_type> rule_type;
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/datasource.hpp> // for featureset_ptr
|
#include <mapnik/datasource.hpp> // for featureset_ptr
|
||||||
|
#include <mapnik/config.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <set>
|
#include <set>
|
||||||
|
@ -48,7 +49,7 @@ enum eAttributeCollectionPolicy
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Processor>
|
template <typename Processor>
|
||||||
class feature_style_processor
|
class MAPNIK_DECL feature_style_processor
|
||||||
{
|
{
|
||||||
struct symbol_dispatch;
|
struct symbol_dispatch;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace mapnik { namespace json {
|
||||||
template <typename Iterator, typename FeatureType> struct feature_collection_grammar;
|
template <typename Iterator, typename FeatureType> struct feature_collection_grammar;
|
||||||
|
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
class feature_collection_parser : private mapnik::noncopyable
|
class MAPNIK_DECL feature_collection_parser : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef Iterator iterator_type;
|
typedef Iterator iterator_type;
|
||||||
typedef mapnik::feature_impl feature_type;
|
typedef mapnik::feature_impl feature_type;
|
||||||
|
|
|
@ -23,12 +23,14 @@
|
||||||
#ifndef MAPNIK_VALUE_ERROR_HPP
|
#ifndef MAPNIK_VALUE_ERROR_HPP
|
||||||
#define MAPNIK_VALUE_ERROR_HPP
|
#define MAPNIK_VALUE_ERROR_HPP
|
||||||
|
|
||||||
|
#include <mapnik/config.hpp>
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class value_error : public std::exception
|
class MAPNIK_DECL value_error : public std::exception
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
value_error() :
|
value_error() :
|
||||||
|
|
Loading…
Reference in a new issue