mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 04:44:24 +01:00
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
This commit is contained in:
parent
1bff57e589
commit
12a5245bfe
@ -62,6 +62,10 @@
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <DbgHelp.h>
|
#include <DbgHelp.h>
|
||||||
|
|
||||||
|
#pragma warning( push )
|
||||||
|
// Disable exception handler warnings.
|
||||||
|
#pragma warning( disable : 4530 )
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace google_airbag {
|
namespace google_airbag {
|
||||||
@ -143,4 +147,6 @@ class ExceptionHandler {
|
|||||||
|
|
||||||
} // namespace google_airbag
|
} // namespace google_airbag
|
||||||
|
|
||||||
|
#pragma warning( pop )
|
||||||
|
|
||||||
#endif // CLIENT_WINDOWS_HANDLER_EXCEPTION_HANDLER_H__
|
#endif // CLIENT_WINDOWS_HANDLER_EXCEPTION_HANDLER_H__
|
||||||
|
@ -27,6 +27,9 @@
|
|||||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
// Disable exception handler warnings.
|
||||||
|
#pragma warning( disable : 4530 )
|
||||||
|
|
||||||
#include "client/windows/sender/crash_report_sender.h"
|
#include "client/windows/sender/crash_report_sender.h"
|
||||||
#include "common/windows/http_upload.h"
|
#include "common/windows/http_upload.h"
|
||||||
|
|
||||||
|
@ -38,6 +38,10 @@
|
|||||||
// To use this library in your project, you will need to link against
|
// To use this library in your project, you will need to link against
|
||||||
// wininet.lib.
|
// wininet.lib.
|
||||||
|
|
||||||
|
#pragma warning( push )
|
||||||
|
// Disable exception handler warnings.
|
||||||
|
#pragma warning( disable : 4530 )
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -69,4 +73,6 @@ class CrashReportSender {
|
|||||||
|
|
||||||
} // namespace google_airbag
|
} // namespace google_airbag
|
||||||
|
|
||||||
|
#pragma warning( pop )
|
||||||
|
|
||||||
#endif // CLIENT_WINDOWS_SENDER_CRASH_REPORT_SENDER_H__
|
#endif // CLIENT_WINDOWS_SENDER_CRASH_REPORT_SENDER_H__
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <WinInet.h>
|
#include <WinInet.h>
|
||||||
|
|
||||||
|
// Disable exception handler warnings.
|
||||||
|
#pragma warning( disable : 4530 )
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
#include "common/windows/http_upload.h"
|
#include "common/windows/http_upload.h"
|
||||||
|
@ -34,6 +34,10 @@
|
|||||||
#ifndef COMMON_WINDOWS_HTTP_UPLOAD_H__
|
#ifndef COMMON_WINDOWS_HTTP_UPLOAD_H__
|
||||||
#define 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 <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@ -99,4 +103,6 @@ class HTTPUpload {
|
|||||||
|
|
||||||
} // namespace google_airbag
|
} // namespace google_airbag
|
||||||
|
|
||||||
|
#pragma warning( pop )
|
||||||
|
|
||||||
#endif // COMMON_WINDOWS_HTTP_UPLOAD_H__
|
#endif // COMMON_WINDOWS_HTTP_UPLOAD_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user