Skip to content

Commit

Permalink
Fix windows compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mortennobel committed Jun 4, 2018
1 parent 0d3dffd commit d8444b4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/sre/impl/Export.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
#define DllExport __declspec(dllexport)
#define EXPIMP_TEMPLATE

template struct __declspec(dllexport) glm::tvec4<float, glm::precision(0)>;
template struct __declspec(dllexport) glm::tvec3<float, glm::precision(0)>;
template struct __declspec(dllexport) glm::tvec2<float, glm::precision(0)>;
template struct __declspec(dllexport) glm::tmat4x4<float, glm::precision(0)>;
template struct __declspec(dllexport) glm::tmat3x3<float, glm::precision(0)>;

// https://support.microsoft.com/en-us/kb/168958
//disable warnings on 255 char debug symbols
#pragma warning (disable : 4786)
Expand All @@ -29,12 +23,6 @@ template struct __declspec(dllexport) glm::tmat3x3<float, glm::precision(0)>;

#include <vector>

EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<int>;
EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<float>;
EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<uint16_t>;
EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<glm::vec2>;
EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<glm::vec3>;
EXPIMP_TEMPLATE template class DECLSPECIFIER std::vector<glm::vec4>;

#else
#define DllExport
Expand Down

0 comments on commit d8444b4

Please sign in to comment.