Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: native_client_sdk/src/examples/file_histogram/file_histogram.cc

Issue 11147004: use CXX compiler for c++ files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: feedback Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {
« no previous file with comments | « native_client_sdk/src/build_tools/make_rules.py ('k') | native_client_sdk/src/examples/geturl/geturl_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698