From 335f0092e45482a71f1344d1c54d8066701f35f5 Mon Sep 17 00:00:00 2001 From: Joaquim Date: Sun, 27 Jul 2025 16:59:43 +0100 Subject: [PATCH] Shut up lots of new warnings issued by MSC compiler after some update. Ecxample warning: warning C5287: operands are different enum types 'GMT_enum_std' and 'GMT_enum_method'; use an explicit cast to silence this warning --- src/gmt.h | 5 +++++ 1 file changed, 5 insertions(+) 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