Browse Source

Disable "extern template" for ResourceManager in MinGW GCC.

MinGW GCC probably has a bug which causes linker errors - complains
about conflicting symbols (inline functions instantiated more than
once).
pull/7/head
Vladimír Vondruš 14 years ago
parent
commit
3367b3636c
  1. 4
      src/Physics/DebugDrawResourceManager.h

4
src/Physics/DebugDrawResourceManager.h

@ -39,8 +39,12 @@ namespace Physics { namespace Implementation {
template<std::uint8_t> class AbstractDebugRenderer;
}}
#ifndef WIN32
extern template class PHYSICS_EXPORT ResourceManager<AbstractShaderProgram, Buffer, Mesh, Physics::Implementation::Options>;
#endif
#endif
/** @todo fix extern template multiple definition linker errors in mingw32-gcc */
namespace SceneGraph {
class Object2D;

Loading…
Cancel
Save