DescriptionAdd -Wno-array-bounds to SConstruct for PNaCl GlibC build.
GlibC's strpbrk is implemented by a macro which uses short-circuiting with
the ternary operator to quickly evaluate the case for 0, 1, 2, or 3 length strings.
For some reason, this construction triggers Clang's array-bounds detection.
I've filed an LLVM bug for this:
http://llvm.org/bugs/show_bug.cgi?id=11536
TBR= jvoung
BUG= http://llvm.org/bugs/show_bug.cgi?id=11536
TEST= PNaCl GLibC bot
Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=7408
Patch Set 1 #Patch Set 2 : '' #
Messages
Total messages: 2 (0 generated)
|