DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit ea7347af647c70df8c98a3704854d87ca9563136
parent 41df6562fb0dccd3002244829c3a460eb2028c61
Author: Jean Pierre Cimalando <jp-dev@inbox.ru>
Date:   Mon, 24 May 2021 21:31:52 +0200

msvc: warning suppressions for template instantiations

Diffstat:
Mdgl/src/Cairo.cpp | 5+++++
Mdgl/src/Geometry.cpp | 5+++++
Mdgl/src/OpenGL.cpp | 5+++++
3 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/dgl/src/Cairo.cpp b/dgl/src/Cairo.cpp @@ -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" diff --git a/dgl/src/Geometry.cpp b/dgl/src/Geometry.cpp @@ -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> diff --git a/dgl/src/OpenGL.cpp b/dgl/src/OpenGL.cpp @@ -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"