Merge pull request #1198 from deralmas/fix-error-suppression

Fix shadow error suppression on GCC
This commit is contained in:
Bartosz Taudul
2025-11-15 20:25:36 +01:00
committed by GitHub

View File

@@ -157,7 +157,7 @@
_Pragma("clang diagnostic ignored \"-Wshadow\"") \
Expr \
_Pragma("clang diagnostic pop")
#elif defined(__GNU__)
#elif defined(__GNUC__)
#define SuppressVarShadowWarning(Expr) \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \