forked from OSchip/llvm-project
Fix warnings from test added in r301562 on Windows (when built without exceptions).
llvm-svn: 301571
This commit is contained in:
parent
96d6ca7e8c
commit
d0c0700f92
|
@ -8,7 +8,17 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "PipSqueak.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
// Disable warnings from inclusion of xlocale & exception
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4530)
|
||||
#pragma warning(disable: 4577)
|
||||
#include <string>
|
||||
#pragma warning(pop)
|
||||
#else
|
||||
#include <string>
|
||||
#endif
|
||||
|
||||
struct Global {
|
||||
std::string *Str;
|
||||
|
|
Loading…
Reference in New Issue