From d829ccdbb6b846f1f555e8d8282b02ad1a041a02 Mon Sep 17 00:00:00 2001 From: Saman Ghannadzadeh Date: Thu, 21 May 2026 00:18:59 +0100 Subject: [PATCH] Ignore `deprecated-enum-enum-conversion` warnings in in GCC Ignore `deprecated-enum-enum-conversion` warnings in GCC. This fixes issue #688 for GCC users. --- implot.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/implot.cpp b/implot.cpp index 032d2ad6..88e23d83 100644 --- a/implot.cpp +++ b/implot.cpp @@ -219,6 +219,7 @@ You can read releases logs https://github.com/epezent/implot/releases for more d #pragma clang diagnostic ignored "-Wenum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated #elif defined(__GNUC__) #pragma GCC diagnostic ignored "-Wformat-nonliteral" // warning: format not a string literal, format string not checked +#pragma GCC diagnostic ignored "-Wdeprecated-enum-enum-conversion" // warning: bitwise operation between different enumeration types ('XXXFlags_' and 'XXXFlagsPrivate_') is deprecated #endif // Global plot context