[cfe-dev] Clang-cl - errors and warning messages slightly different from MSVC

Marco Craveiro via cfe-dev cfe-dev at lists.llvm.org
Tue Feb 19 01:40:04 PST 2019


<whitespace differences in error reporting>
> Well, this is embarrassing.
>
> Many eyes have seen these diagnostics and yet nobody noticed, or at
> least bothered to report, the extra space before, so thank you very
> much for raising this!

No problems!

> It is indeed a bug; the extra space is not supposed to be there. Our
> tests should have caught this:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/diag-format.c?view=markup
> however the testing tool helpfully ignored the difference in
> horizontal whitespace.
>
> The fix is here: https://reviews.llvm.org/D58377

You're a superstar Hans, thanks very much for the quick turnaround.

> This will of course not help users of older versions of Clang, so it
> might still be a good idea to make CDash's regexes less strict about
> this whitespace if possible.

I'll have a chat with the CDash devs, now the problem is understood
maybe they will be OK with such a patch.

Thanks very much.
-- 
Marco Craveiro

MD, Domain Driven Consulting
about: http://about.me/marcocraveiro
blog: http://mcraveiro.blogspot.co.uk
twitter: https://twitter.com/MarcoCraveiro

That the Ideas are themselves manifestations (of the Idea-Idea) and
that the Idea-Idea is a-kind-of Manifestation-Idea—which is a-kind-of
itself, so that the system is completely self-describing— would have
been appreciated by Plato as an extremely practical joke [Plato]. --
Alan Key



More information about the cfe-dev mailing list