Suppress pedantic warnings in testcases
This commit is contained in:
parent
a4ba9528b4
commit
ec1eac5b72
3 changed files with 18 additions and 0 deletions
|
|
@ -1,6 +1,13 @@
|
|||
%module enum_macro
|
||||
|
||||
%inline %{
|
||||
|
||||
#if defined(__GNUC__)
|
||||
/* comma at end of enumerator list [-Werror=pedantic] */
|
||||
#pragma GCC diagnostic ignored "-Wpedantic"
|
||||
#endif
|
||||
|
||||
|
||||
enum Greeks1
|
||||
{
|
||||
#define GREEK1 -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue