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++/45923] constexpr diagnostics, more more


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....


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