mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
silence some warning
This commit is contained in:
parent
0810148bae
commit
9830d319c4
1 changed files with 3 additions and 1 deletions
|
|
@ -62,7 +62,9 @@
|
|||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized" // May be used uninitialized 'return {};'.
|
||||
#elif defined(_MSC_VER)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable : 26495) // Variable 'static_string<N>::chars' is uninitialized.
|
||||
# pragma warning(disable : 26495) // Variable 'static_string<N>::chars_' is uninitialized.
|
||||
# pragma warning(disable : 28020) // Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value.
|
||||
# pragma warning(disable : 26451) // The expression '0<=_Param_(1)&&_Param_(1)<=1-1' is not true at this call.
|
||||
#endif
|
||||
|
||||
// Checks magic_enum compiler compatibility.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue