C++ PATCH for c++/57532 (bogus error with int() & int())

Jason Merrill jason@redhat.com
Tue Jul 9 17:44:00 GMT 2013


In C++98 mode we were complaining about trying to apply a ref-qualifier 
to the function type int() during tentative parsing; the easiest fix is 
just not to try to tentatively parse ref-qualifiers in C++98 mode, which 
also lets us fail the tentative parse faster.

Tested x86_64-pc-linux-gnu, applying to trunk and 4.8.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 57532.patch
Type: text/x-patch
Size: 1022 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130709/14d5dbee/attachment.bin>


More information about the Gcc-patches mailing list