diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-27 19:47:21 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2006-10-27 19:47:21 +0000 |
commit | 12a5245bfe93d4a0ccb692afefc4ecf1435d97f4 (patch) | |
tree | c16d76aaa579b5f3cde80be2de3f01448d07f396 /src/common | |
parent | Add set_dump_path method to ExceptionHandler (#37). Patch by Ted Mielczarek. (diff) | |
download | breakpad-12a5245bfe93d4a0ccb692afefc4ecf1435d97f4.tar.xz |
Disable exception handling warnings in Windows client code (#38).
Patch by Ted Mielczarek. r=me
http://groups.google.com/group/airbag-dev/browse_thread/thread/133814673f75d5fa
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@56 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/windows/http_upload.cc | 3 | ||||
-rw-r--r-- | src/common/windows/http_upload.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/common/windows/http_upload.cc b/src/common/windows/http_upload.cc index 75f8bec5..6176bff8 100644 --- a/src/common/windows/http_upload.cc +++ b/src/common/windows/http_upload.cc @@ -31,6 +31,9 @@ #include <Windows.h> #include <WinInet.h> +// Disable exception handler warnings. +#pragma warning( disable : 4530 ) + #include <fstream> #include "common/windows/http_upload.h" diff --git a/src/common/windows/http_upload.h b/src/common/windows/http_upload.h index 612e552f..4d86eded 100644 --- a/src/common/windows/http_upload.h +++ b/src/common/windows/http_upload.h @@ -34,6 +34,10 @@ #ifndef COMMON_WINDOWS_HTTP_UPLOAD_H__ #define COMMON_WINDOWS_HTTP_UPLOAD_H__ +#pragma warning( push ) +// Disable exception handler warnings. +#pragma warning( disable : 4530 ) + #include <map> #include <string> #include <vector> @@ -99,4 +103,6 @@ class HTTPUpload { } // namespace google_airbag +#pragma warning( pop ) + #endif // COMMON_WINDOWS_HTTP_UPLOAD_H__ |