mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
Silence all C4786 warnings (#180)
This commit is contained in:
parent
8281e195f7
commit
201125d209
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
||||||
// Impossible to avoid this if using STL map or set.
|
// Impossible to avoid this if using STL map or set.
|
||||||
// This removes most (but not all) occurrences of the warning.
|
// This removes most (but not all) occurrences of the warning.
|
||||||
#pragma warning( disable : 4786 )
|
#pragma warning( disable : 4786 )
|
||||||
|
// To really remove *all* of the warnings, we have to employ the following,
|
||||||
|
// obscure workaround from https://www.earthli.com/news/view_article.php?id=376
|
||||||
|
static class msVC6_4786WorkAround { public: msVC6_4786WorkAround() {} } msVC6_4786WorkAround;
|
||||||
|
|
||||||
#define MSVC420_VERSION 1020
|
#define MSVC420_VERSION 1020
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue