more -fvisibility=hidden fixes for osx

This commit is contained in:
Dane Springmeyer 2014-08-09 14:23:23 -07:00
parent b0392ff002
commit 378ab71a51
3 changed files with 6 additions and 2 deletions

View file

@ -53,6 +53,7 @@ namespace mapnik {
class marker;
class proj_transform;
struct rasterizer;
class image_32;
}
namespace mapnik {
@ -165,6 +166,8 @@ private:
void setup(Map const& m);
};
extern template class MAPNIK_DECL agg_renderer<image_32>;
} // namespace mapnik
#endif // MAPNIK_AGG_RENDERER_HPP

View file

@ -59,7 +59,7 @@ private:
std::set<std::string> plugin_directories_;
};
extern template class singleton<datasource_cache, CreateStatic>;
extern template class MAPNIK_DECL singleton<datasource_cache, CreateStatic>;
}

View file

@ -25,6 +25,7 @@
// mapnik
#include <mapnik/pixel_position.hpp>
#include <mapnik/debug.hpp>
#include <mapnik/config.hpp>
// agg
#include "agg_basics.h"
@ -41,7 +42,7 @@ class vertex_cache;
using vertex_cache_ptr = std::shared_ptr<vertex_cache>;
// Caches all path points and their lengths. Allows easy moving in both directions.
class vertex_cache
class MAPNIK_DECL vertex_cache
{
struct segment
{