Paweł Bylica
10 years ago
2 changed files with 12 additions and 0 deletions
@ -1,3 +1,7 @@ |
|||||
#if defined(_MSC_VER) |
#if defined(_MSC_VER) |
||||
#pragma warning(pop) |
#pragma warning(pop) |
||||
|
#elif defined(__clang__) |
||||
|
#pragma clang diagnostic pop |
||||
|
#else |
||||
|
#pragma GCC diagnostic pop |
||||
#endif |
#endif |
||||
|
@ -1,4 +1,12 @@ |
|||||
#if defined(_MSC_VER) |
#if defined(_MSC_VER) |
||||
#pragma warning(push) |
#pragma warning(push) |
||||
#pragma warning(disable: 4267 4244 4800) |
#pragma warning(disable: 4267 4244 4800) |
||||
|
#elif defined(__clang__) |
||||
|
#pragma clang diagnostic push |
||||
|
#pragma clang diagnostic ignored "-Wunused-parameter" |
||||
|
#pragma clang diagnostic ignored "-Wconversion" |
||||
|
#else |
||||
|
#pragma GCC diagnostic push |
||||
|
#pragma GCC diagnostic ignored "-Wunused-parameter" |
||||
|
#pragma GCC diagnostic ignored "-Wconversion" |
||||
#endif |
#endif |
||||
|
Loading…
Reference in new issue