[libcxx-commits] [libcxx] [libc++][string] Remove potential non-trailing 0-length array (PR #105865)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Aug 25 02:17:48 PDT 2024
serge-sans-paille wrote:
> > > > It's an extension that compilers currently support, so I don't really see why the new implementation is better.
> > >
> > >
> > > Perhaps the change will make `-Wzero-length-array` happy. #74183 seems related.
> >
> >
> > Exactly the issue I ran into.
>
> How exactly does one run into a diagnostic in a system header?
I'm working on harmonizing the clang behavior wrt. FMA, and while doing this I turned on FMA warnings when compiling the full llvm-project, looks like it impacted libcxx too.
https://github.com/llvm/llvm-project/pull/105865
More information about the libcxx-commits
mailing list