Permalink
Browse files

suppress typedef warnings from 3rd party libs with vs

  • Loading branch information...
turleypol committed Sep 26, 2017
1 parent df1aad4 commit b2283d4c51a7f7521def090c4952cbb329f2b256
Showing with 13 additions and 1 deletion.
  1. +5 −0 pol-core/clib/Header_Windows.h
  2. +6 −0 pol-core/clib/boostutils.h
  3. +2 −1 pol-core/clib/mdump.cpp
@@ -8,6 +8,9 @@
#define WIN32_LEAN_AND_MEAN
#endif
#pragma warning( push )
#pragma warning( disable : 4091 ) // unused typedef
#define _WINSOCKAPI_
#define _IMAGEHLP_
@@ -22,6 +25,8 @@
#include <crtdbg.h>
#include <Shellapi.h>
#pragma warning( pop ) // unused typedef in dbghelp.h
//#define snprintf _snprintf
#define MAXDRIVE _MAX_DRIVE
@@ -13,6 +13,7 @@
#endif
#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable : 4503 ) // decorated name length exceeded
#endif
@@ -174,4 +175,9 @@ struct flyweight_initializers
};
}
}
#ifdef _MSC_VER
#pragma warning( pop )
#endif
#endif
View
@@ -5,13 +5,14 @@
* - 2009-07-18 MuadDib: Updated dump messages for bug tracker
*/
#include "mdump.h"
#include "strexcpt.h"
#include "passert.h"
#include "logfacility.h"
#include "threadhelp.h"
#include "clib.h"
#pragma warning( disable : 4091 ) // unused typedef
#include "../../lib/StackWalker/StackWalker.h"
#include "Header_Windows.h"

0 comments on commit b2283d4

Please sign in to comment.