Index: native_client_sdk/src/examples/file_histogram/file_histogram.cc |
diff --git a/native_client_sdk/src/examples/file_histogram/file_histogram.cc b/native_client_sdk/src/examples/file_histogram/file_histogram.cc |
index 4909a9c666708cc2b1e856af0da11c5fc9eb8837..9a7a7848d606054ea8e25517d324d5252cb82476 100644 |
--- a/native_client_sdk/src/examples/file_histogram/file_histogram.cc |
+++ b/native_client_sdk/src/examples/file_histogram/file_histogram.cc |
@@ -42,6 +42,13 @@ |
#undef PostMessage |
#endif |
+#ifdef _MSC_VER |
binji
2012/10/12 23:05:59
let's be consistent about whether we use _MSC_VER
|
+// Allow 'this' in initializer list |
+#pragma warning(disable : 4355) |
+// Disable warning about behaviour of array initialization. |
+#pragma warning(disable : 4351) |
+#endif |
+ |
namespace { |
const uint32_t kBlue = 0xff4040ffu; |