Browse Source

Merge pull request #279 from jpcima/msvc-cmake

msvc: warning suppressions for template instantiations
pull/280/head
JP Cimalando GitHub 4 years ago
parent
commit
30664ec1df
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions
  1. +5
    -0
      dgl/src/Cairo.cpp
  2. +5
    -0
      dgl/src/Geometry.cpp
  3. +5
    -0
      dgl/src/OpenGL.cpp

+ 5
- 0
dgl/src/Cairo.cpp View File

@@ -15,6 +15,11 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#ifdef _MSC_VER
// instantiated template classes whose methods are defined elsewhere
# pragma warning(disable:4661)
#endif

#include "../Cairo.hpp"
#include "../Color.hpp"
#include "../ImageBaseWidgets.hpp"


+ 5
- 0
dgl/src/Geometry.cpp View File

@@ -14,6 +14,11 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#ifdef _MSC_VER
// instantiated template classes whose methods are defined elsewhere
# pragma warning(disable:4661)
#endif

#include "../Geometry.hpp"

#include <cmath>


+ 5
- 0
dgl/src/OpenGL.cpp View File

@@ -14,6 +14,11 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#ifdef _MSC_VER
// instantiated template classes whose methods are defined elsewhere
# pragma warning(disable:4661)
#endif

#include "../OpenGL.hpp"
#include "../Color.hpp"
#include "../ImageWidgets.hpp"


Loading…
Cancel
Save