mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
code: Fix GCC warning diagnostic pragmas
This commit is contained in:
parent
6c8578e555
commit
78e5c10a74
2 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@
|
|||
#pragma clang diagnostic ignored "-Wall"
|
||||
#pragma clang diagnostic ignored "-Wextra"
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
#pragma gcc diagnostic push
|
||||
#pragma gcc diagnostic ignored "-Wall"
|
||||
#pragma gcc diagnostic ignored "-Wextra"
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wall"
|
||||
#pragma GCC diagnostic ignored "-Wextra"
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning(push, 0)
|
||||
#else
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#if defined(__clang__)
|
||||
#pragma clang diagnostic pop
|
||||
#elif defined(__GNUC__) || defined(__GNUG__)
|
||||
#pragma gcc diagnostic pop
|
||||
#pragma GCC diagnostic pop
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue