Skip to content

Commit

Permalink
Suppress MSVC C4290 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Aug 14, 2016
1 parent fdc2c03 commit b0dd2cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/shogun/lib/common.h
Expand Up @@ -22,6 +22,11 @@
#ifdef _MSC_VER
#define NOMINMAX
#include <windows.h>

// 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 <shogun/lib/config.h>
Expand Down

0 comments on commit b0dd2cf

Please sign in to comment.