mirror of
https://github.com/wolfpld/tracy.git
synced 2026-06-08 08:33:48 +00:00
Merge pull request #1198 from deralmas/fix-error-suppression
Fix shadow error suppression on GCC
This commit is contained in:
@@ -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\"") \
|
||||
|
||||
Reference in New Issue
Block a user