Browse Source

msvc: warning suppressions for template instantiations

pull/279/head
Jean Pierre Cimalando 4 years ago
parent
commit
ea7347af64
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