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:
parent
6c948826b1
commit
8c3f6e38a4
@ -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
Block a user