mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
#pragma O0 fails on GCC 4.4 with an Internal Compiler Error. -- bug 621446, r=honzab
This pragma was only to investigate another crash on Android, but breaks compile on g++ 4.4 64bit, e.g. on Ubuntu 10.04 64bit. Thus, enable that pragma only on Android.
This commit is contained in:
parent
6753ab6fd3
commit
410f4e95ea
@ -331,12 +331,15 @@ HttpChannelParent::RecvUpdateAssociatedContentSecurity(const PRInt32& high,
|
||||
return true;
|
||||
}
|
||||
|
||||
// Bug 621446 investigation, we don't want conditional PR_Aborts bellow to be
|
||||
// Bug 621446 investigation, we don't want conditional PR_Aborts below to be
|
||||
// merged to a single address.
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4068)
|
||||
#endif
|
||||
#ifdef ANDROID
|
||||
// Compiling this with GCC <= 4.4 fails with an internal compiler error
|
||||
#pragma GCC optimize ("O0")
|
||||
#endif
|
||||
|
||||
bool
|
||||
HttpChannelParent::RecvRedirect2Verify(const nsresult& result,
|
||||
|
Loading…
Reference in New Issue
Block a user