Bug 125164

Summary: ANGLE fails to build with trunk clang: unused constant kTraceBufferLen
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Tools / TestsAssignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dino, kondapallykalyan, roger_fong
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Daniel Bates
Reported 2013-12-03 10:21:58 PST
The constant kTraceBufferLen is only referenced in code guarded by the macro define TRACE_ENABLED. And trunk clang identifies that this constant is unused otherwise. We should only define this constant when building with TRACE_ENABLED.
Attachments
Patch (1.40 KB, patch)
2013-12-03 10:23 PST, Daniel Bates
darin: review+
Daniel Bates
Comment 1 2013-12-03 10:23:39 PST
Daniel Bates
Comment 2 2013-12-03 10:33:28 PST
Daniel Bates
Comment 3 2013-12-03 11:28:38 PST
Note You need to log in before you can comment on or make changes to this bug.