We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36d3f1e + e1110d6 commit a11c3d4Copy full SHA for a11c3d4
public/tracy/Tracy.hpp
@@ -155,19 +155,19 @@
155
#define SuppressVarShadowWarning(Expr) \
156
_Pragma("clang diagnostic push") \
157
_Pragma("clang diagnostic ignored \"-Wshadow\"") \
158
- Expr \
+ Expr; \
159
_Pragma("clang diagnostic pop")
160
#elif defined(__GNUC__)
161
162
_Pragma("GCC diagnostic push") \
163
_Pragma("GCC diagnostic ignored \"-Wshadow\"") \
164
165
_Pragma("GCC diagnostic pop")
166
#elif defined(_MSC_VER)
167
168
_Pragma("warning(push)") \
169
_Pragma("warning(disable : 4456)") \
170
171
_Pragma("warning(pop)")
172
#else
173
#define SuppressVarShadowWarning(Expr) Expr
0 commit comments