https://bugs.webkit.org/show_bug.cgi?id=168869
Reviewed by Keith Miller.
* b3/B3Width.h:
* wasm/WasmSections.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213433
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-03-05 Yusuke Suzuki <utatane.tea@gmail.com>
+
+ [JSCOnly][GTK] Suppress warnings on return type in B3 and WASM
+ https://bugs.webkit.org/show_bug.cgi?id=168869
+
+ Reviewed by Keith Miller.
+
+ * b3/B3Width.h:
+ * wasm/WasmSections.h:
+
2017-03-04 Csaba Osztrogonác <ossy@webkit.org>
[ARM] Unreviewed buildfix after r213376.
#include "B3Bank.h"
#include "B3Type.h"
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
namespace JSC { namespace B3 {
enum Width : int8_t {
} // namespace WTF
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
#endif // ENABLE(B3_JIT)
#if ENABLE(WEBASSEMBLY)
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
namespace JSC { namespace Wasm {
#define FOR_EACH_WASM_SECTION(macro) \
} } // namespace JSC::Wasm
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
#endif // ENABLE(WEBASSEMBLY)