On Tue, Jun 5, 2012 at 12:05 PM, Jason Merrill <ja...@redhat.com> wrote:
> In the operator new case, the non-constant expression error followed by the > VLA warning is not as helpful, as the latter ignores the former. Perhaps the > right way to deal with this is to allow non-constant expressions in the > new-type-id, since we allow them in a regular type-id. and afterward issue the diagnostics. That sounds good to me :-) -- Gaby