https://bugs.webkit.org/show_bug.cgi?id=136677
Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-09-09
Reviewed by Darin Adler.
Source/JavaScriptCore:
* Configurations/Base.xcconfig:
Source/ThirdParty:
* gtest/xcode/Config/General.xcconfig:
Source/WebInspectorUI:
* Configurations/Base.xcconfig:
Source/WebKit/mac:
* Configurations/Base.xcconfig:
Source/WebKit2:
* Configurations/Base.xcconfig:
Source/WTF:
The warning causes various build errors depending on which Clang you are using.
For example, with recent clangs, it breaks all the ARCHS dependent code like this:
if (sizeof(uintptr_t) == 4)
// Something for 32 bits.
else
// Somethign for 64 bits.
* Configurations/Base.xcconfig:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173443
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ * Configurations/Base.xcconfig:
+
2014-09-08 Filip Pizlo <fpizlo@apple.com>
DFG should have a reusable SSA builder
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = NO;
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ * gtest/xcode/Config/General.xcconfig:
+
2014-09-06 Darin Adler <darin@apple.com>
Make updates suggested by new version of Xcode
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ The warning causes various build errors depending on which Clang you are using.
+
+ For example, with recent clangs, it breaks all the ARCHS dependent code like this:
+ if (sizeof(uintptr_t) == 4)
+ // Something for 32 bits.
+ else
+ // Somethign for 64 bits.
+
+ * Configurations/Base.xcconfig:
+
2014-09-07 Filip Pizlo <fpizlo@apple.com>
DFG should have a reusable SSA builder
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = NO;
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ * Configurations/Base.xcconfig:
+
2014-09-08 Joseph Pecoraro <pecoraro@apple.com>
Web Inspector: Fix ESLint no-trailing-spaces warnings
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ * Configurations/Base.xcconfig:
+
2014-09-08 Maciej Stachowiak <mjs@apple.com>
Fix 32-bit Mac build for new warnings
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = NO;
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;
+2014-09-09 Benjamin Poulain <bpoulain@apple.com>
+
+ Disable the "unreachable-code" warning
+ https://bugs.webkit.org/show_bug.cgi?id=136677
+
+ Reviewed by Darin Adler.
+
+ * Configurations/Base.xcconfig:
+
2014-09-09 Dan Bernstein <mitz@apple.com>
[Cocoa] -[WKBackForwardList backList] contains an unnecessary nil check
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
-CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COMBINE_HIDPI_IMAGES = NO;
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym;