10.12., 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 7e8eb70e authored by Jakob Weiss's avatar Jakob Weiss

core fix: minor: suppressing VS 2015 warning 4275

VS15 is warning about dll-exporting a class without exporting its base class, which can be ignored for deriving from STL classes.
parent 8670997c
...@@ -34,6 +34,10 @@ ...@@ -34,6 +34,10 @@
#include <exception> #include <exception>
#include <string> #include <string>
#pragma warning (disable: 4275) // VS15 warns about exporting a class derived from STL
namespace cgt { namespace cgt {
/* /*
...@@ -142,4 +146,7 @@ public: ...@@ -142,4 +146,7 @@ public:
} // namespace cgt } // namespace cgt
#pragma warning (disable: 4275)
#endif // CGT_EXCEPTION #endif // CGT_EXCEPTION
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment