In debug.cpp, kTraceBufferLen is not used unless TRACE_ENABLED is true. This causes newer versions of clang to throw a warning. For now, add -Wno-error=unused-variable to the build flags. <rdar://problem/14739718>
Real radar is <rdar://problem/15409804>
Created attachment 216246 [details] Patch
Created attachment 216249 [details] Patch
Comment on attachment 216249 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216249&action=review Much better. > Source/ThirdParty/ANGLE/src/compiler/debug.cpp:46 > +#if defined(__clang__) > +#pragma clang diagnostic pop > +#endif This should wrap just the constant.
Committed r158807: <http://trac.webkit.org/changeset/158807>
Probably should have used "GCC diagnostic push" and no #if defined(__clang__)
This change was inadvertently reverted in <http://trac.webkit.org/changeset/159533> (bug #124615). I committed a revised fix for this issue in <https://bugs.webkit.org/show_bug.cgi?id=125164>, which was accepted by the ANGLE project: <https://code.google.com/p/angleproject/issues/detail?id=534>.