Skip to content

Commit 1756841

Browse files
committed
config.h: made SUPPRESS_WARNING usable by any code
1 parent 54094f1 commit 1756841

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ static const std::string emptyString;
123123
#define SUPPRESS_DEPRECATED_WARNING(...) SUPPRESS_WARNING("-Wdeprecated", __VA_ARGS__)
124124
#define SUPPRESS_FLOAT_EQUAL_WARNING(...) SUPPRESS_WARNING("-Wfloat-equal", __VA_ARGS__)
125125
#else
126+
#define SUPPRESS_WARNING(warning, ...) __VA_ARGS__
126127
#define SUPPRESS_DEPRECATED_WARNING(...) __VA_ARGS__
127128
#define SUPPRESS_FLOAT_EQUAL_WARNING(...) __VA_ARGS__
128129
#endif

0 commit comments

Comments
 (0)