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++/51382] Incorrect diagnostic "cannot appear in a constant-expression"


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

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-01 23:19:05 UTC ---
About the garbled error message - the second issue - the fix should be rather
trivial, just matter of handling USING_DECL in dump_expr together with the
other *_DECL and forwarding to dump_decl.


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