This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45923] constexpr diagnostic w/ non-literal
- From: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 3 Nov 2010 17:32:29 +0000
- Subject: [Bug c++/45923] constexpr diagnostic w/ non-literal
- Auto-submitted: auto-generated
- References: <bug-45923-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45923
--- Comment #4 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2010-11-03 17:32:23 UTC ---
This is going to be re-purposed into a more general bugreport about constexpr
and diagnostics. The goal is to try and get compiler messages about why code
constructs are or are not valid constant expressions that contain:
1) locality as to where the problem is
2) clarity as to what the problem is
3) notes as to potential fixes.
Now, on to the attachments.