diff --git a/src/gmt.h b/src/gmt.h index ea799bf9c70..a5ffd526829 100644 --- a/src/gmt.h +++ b/src/gmt.h @@ -37,6 +37,11 @@ extern "C" { #endif +/* Disable warning: operands are different enum types */ +#ifdef _MSC_VER +#pragma warning( disable : 5287 ) +#endif + /* * We only include the basic include files needed by the API. Users may * need to include additional files, such as , etc. In order to