Silence array-bounds warnings when with gcc 4.9.1

Joerg Sonnenberger joerg at
Tue Apr 28 02:34:15 PDT 2015

On Tue, Apr 28, 2015 at 09:14:27AM +0300, Yaron Keren wrote:
> When building clang with gcc 4.9.1, there are many 'array subscript is
> above array bounds' warnings from clang/Basic/Diagnostic.h. This patch
> silences these warnings.

But why do they happen?


More information about the cfe-commits mailing list