[Bug c++/97518] Improving static_assert diagnostics

2020-11-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 --- Comment #6 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:d6e5745a9a88314e27f387b2277299076862af67 commit r11-4924-gd6e5745a9a88314e27f387b2277299076862af67 Author: Marek Polacek Date: Tu

[Bug c++/97518] Improving static_assert diagnostics

2020-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/97518] Improving static_assert diagnostics

2020-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 --- Comment #4 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:8c0c83feb04d7486ccf9cbe86dcd5668f0a21ef9 commit r11-4891-g8c0c83feb04d7486ccf9cbe86dcd5668f0a21ef9 Author: Marek Polacek Date: Fr

[Bug c++/97518] Improving static_assert diagnostics

2020-11-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/97518] Improving static_assert diagnostics

2020-10-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 --- Comment #2 from Jonathan Wakely --- A related case I encounter often is: static_assert( sizeof(T) == 4 ); if the assertion fails I would like to know what the size is, rather than just "not 4", so I have to add something like Barry's verify

[Bug c++/97518] Improving static_assert diagnostics

2020-10-21 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97518 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ke