1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix warnings from test added in r301562 on Windows (when built without exceptions).

llvm-svn: 301571
This commit is contained in:
Frederich Munch 2017-04-27 17:33:50 +00:00
parent 6c948826b1
commit 8c3f6e38a4

View File

@ -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;