This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45923] constexpr diagnostics, more more
- 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, 24 Nov 2010 20:44:55 +0000
- Subject: [Bug c++/45923] constexpr diagnostics, more more
- Auto-submitted: auto-generated
- References: <bug-45923-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45923
--- Comment #10 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2010-11-24 20:44:49 UTC ---
Follow up to #9, as per discussions in Batavia and
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02406.html
There was some thought of providing an attribute syntax for this, say something
like __attribute__((init_constant)) that would warn when the variable
wasn't constant initialized. Spelling to be determined....