diff --git a/src/shogun/lib/common.h b/src/shogun/lib/common.h index 3afb4944ead..5266ddefbe7 100644 --- a/src/shogun/lib/common.h +++ b/src/shogun/lib/common.h @@ -22,6 +22,11 @@ #ifdef _MSC_VER #define NOMINMAX #include + +// Visual C++ accepts but does not implement when +// function is declared using exception specification +// this pragma is suppressing the compiler warning +#pragma warning( disable : 4290 ) #endif #include