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..26d4b193baeacc2fac97e91aaaa302c5f5f0eb40 100644 |
--- a/native_client_sdk/src/examples/file_histogram/file_histogram.cc |
+++ b/native_client_sdk/src/examples/file_histogram/file_histogram.cc |
@@ -40,6 +40,11 @@ |
#undef min |
#undef max |
#undef PostMessage |
+ |
+// Allow 'this' in initializer list |
+#pragma warning(disable : 4355) |
+// Disable warning about behaviour of array initialization. |
+#pragma warning(disable : 4351) |
#endif |
namespace { |