This is the mail archive of the gcc-patches@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] |
On 11/09/2011 05:45 PM, Paolo Carlini wrote:Ah, good (sorry about the badly formatted code, by the way). Now, if I apply the patchlet below, I get this error for template/nontype13.C:finish_id_expression is called from cp_parser_primary_expression with a true allow_non_integral_constant_expression_p and the error doesn't occur.
Yes, allow_non_integral_constant_expression_p should always be true in C++11.
Attachment:
p
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |