On 22 July 2011 22:43, Jason Merrill <ja...@redhat.com> wrote: > On 07/21/2011 01:39 PM, Ville Voutilainen wrote: >> This one seems to work... > Looks good. ChangeLogs? > Jason
In the first patch-mail that had the borken test-patch. Repasted: 2011-07-21 Ville Voutilainen <ville.voutilai...@gmail.com> <ville.voutilai...@symbio.com> Warn about the use of final/override in non-c++0x mode, and add __final for non-c++0x mode. * cp-tree.h (cpp0x_warn_str): Add CPP0X_OVERRIDE_CONTROLS. * error.c (maybe_warn_cpp0x): Adjust. * parser.c (cp_parser_virt_specifier_seq_opt): Use it. Add '__final' as a non-c++0x alternative for 'final'. * override1.C: This test should use c++0x mode. * override3.C: New. Test the diagnostics in c++98 mode.