Skip to content

Commit 36d3f1e

Browse files
authored
Merge pull request #1198 from deralmas/fix-error-suppression
Fix shadow error suppression on GCC
2 parents f79033e + 458d9ee commit 36d3f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/tracy/Tracy.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
_Pragma("clang diagnostic ignored \"-Wshadow\"") \
158158
Expr \
159159
_Pragma("clang diagnostic pop")
160-
#elif defined(__GNU__)
160+
#elif defined(__GNUC__)
161161
#define SuppressVarShadowWarning(Expr) \
162162
_Pragma("GCC diagnostic push") \
163163
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \

0 commit comments

Comments
 (0)