When building clang-format with -Wall on Visual Studio 20119
I see the following, prevent this the only -Wall error
..FormatTokenLexer.cpp(45) : warning C4868: compiler may not enforce left-to-right evaluation order in braced initializer list
Differential D113844
[clang-format] [NFC] build clang-format with -Wall MyDeveloperDay on Nov 14 2021, 6:35 AM. Authored by
Details When building clang-format with -Wall on Visual Studio 20119 I see the following, prevent this the only -Wall error ..FormatTokenLexer.cpp(45) : warning C4868: compiler may not enforce left-to-right evaluation order in braced initializer list
Diff Detail
Event TimelineComment Actions Is okay, but I think the compiler is a bit overreacting, since there is only one call (chain). Comment Actions I agree, but I think I saw that one of the buildbot was running with -Wall and I got dinged on my commit and this was our only failure (tests use include ../ which is also a failure) |