Suppress warning in testcase
This commit is contained in:
parent
1d1d0de2d0
commit
ff53789dc9
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
%{
|
%{
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
|
#pragma warning(disable: 4290) // C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
|
||||||
|
#pragma warning(disable: 4146) // unary minus operator applied to unsigned type, result still unsigned
|
||||||
#endif
|
#endif
|
||||||
#if __GNUC__ >= 7
|
#if __GNUC__ >= 7
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue