C++ PATCH to be more helpful about noexcept/thread_local in C++98 mode

Jason Merrill jason@redhat.com
Thu Jun 5 17:30:00 GMT 2014


We end up in cp_parser_diagnose_invalid_type_name for uses of noexcept 
and thread_local as well as constexpr, and we can give the same helpful 
message.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noexcept-note.patch
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140605/91705029/attachment.bin>


More information about the Gcc-patches mailing list