This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52809] Template non-dependent static_assert diagnostics may confuse


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52809

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-31 16:55:10 UTC ---
If we wanted, I think a simple way to add an inform about a static_assert which
can never be fullfilled, would be adding a flag to finish_static_assert in
order to tell in its body whether is being called from the parser or from pt.c.
Something a bit uncommon, afaik, but seems simple.

Jason, what do you think?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]