mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1203476 - Fix an Android-only warning in mozalloc_abort.cpp. r=glandium.
And remove the corresponding and now-unnecessary ALLOW_COMPILER_WARNINGS=True.
This commit is contained in:
parent
74b582930c
commit
b0fdb0c663
@ -40,9 +40,6 @@ GENERATED_INCLUDES += ['/xpcom']
|
|||||||
|
|
||||||
DISABLE_STL_WRAPPING = True
|
DISABLE_STL_WRAPPING = True
|
||||||
|
|
||||||
if not CONFIG['CLANG_CXX'] and not CONFIG['_MSC_VER']:
|
|
||||||
ALLOW_COMPILER_WARNINGS = True
|
|
||||||
|
|
||||||
DEFINES['IMPL_MFBT'] = True
|
DEFINES['IMPL_MFBT'] = True
|
||||||
|
|
||||||
if CONFIG['_MSC_VER']:
|
if CONFIG['_MSC_VER']:
|
||||||
|
@ -78,6 +78,12 @@ void abort(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
mozalloc_abort(msg);
|
mozalloc_abort(msg);
|
||||||
|
|
||||||
|
// We won't reach here because mozalloc_abort() is MOZ_NORETURN. But that
|
||||||
|
// annotation isn't used on ARM (see mozalloc_abort.h for why) so we add a
|
||||||
|
// redundant MOZ_CRASH() here to avoid a "'noreturn' function does return"
|
||||||
|
// warning.
|
||||||
|
MOZ_CRASH();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user