https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111087
--- Comment #2 from Adam Badura <adam.f.badura at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > Zero sized arrays are a gcc extension. The problem is with `std::array` rather than C-array. It seems to me `std::array` can have `0` size - it is not an extension. The sample builds with Clang fine without warning... Anyway, even if this would be GCC extension, it still shouldn't result in false-positives, right? (Unless, of course, this is not a false-positive...)