preproc testcase warning suppression for bad macro test
This commit is contained in:
parent
e43dfc69e5
commit
d72aca991f
1 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,9 @@
|
||||||
//Suppress: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
|
//Suppress: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
|
||||||
#pragma clang diagnostic ignored "-Wconstant-logical-operand"
|
#pragma clang diagnostic ignored "-Wconstant-logical-operand"
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning(disable: 4003) // not enough actual parameters for macro 'FOO2'
|
||||||
|
#endif
|
||||||
%}
|
%}
|
||||||
|
|
||||||
/* check __cplusplus case */
|
/* check __cplusplus case */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue