util: remove MSVC warning pragmas

4786 - I don't think this exists any more?
4805 - Is already defined (globally) in the MSVC project.

Dropped 4717 and 4804, as it seems they are no-longer supressing
anything.

See:
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warnings-c4000-c5999
This commit is contained in:
fanquake 2022-06-28 17:24:34 +01:00
parent e4e201dfd9
commit d8f8f7812c
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -55,13 +55,6 @@
#else
#ifdef _MSC_VER
#pragma warning(disable:4786)
#pragma warning(disable:4804)
#pragma warning(disable:4805)
#pragma warning(disable:4717)
#endif
#include <codecvt>
#include <io.h> /* for _commit */