[Bug c++/93769] Slightly wrong diagnostic message for static_asserts with no message

gennaro.prota+gccbugzilla at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 23 18:36:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93769

--- Comment #2 from Gennaro Prota <gennaro.prota+gccbugzilla at gmail dot com> ---
(In reply to Marek Polacek from comment #1)
> (In reply to Gennaro Prota from comment #0)
    [...] 
> -std=c++20 implies -std=c++17.

I don't think viewing it this way is in general correct.

> I suppose we could say what you're
> suggesting but there are many places that would need changing.  I'm dubious
> if it's worth it.

Well, I thought this would require changing a single string literal in the
compiler source code.


More information about the Gcc-bugs mailing list