2014-03-28 17:59 GMT+01:00 Jason Merrill <ja...@redhat.com>:
[...]
> The inform should only happen if permerror returns true (i.e. without
> -fpermissive -w).  OK with that change.

I did a little tour around the permerror uses, and found that in decl.c:

if (permerror (input_location,
                       "default argument given for parameter "
                       "%d of %q#D", i, newdecl))
              permerror (DECL_SOURCE_LOCATION (olddecl),
                     "previous specification in %q#D here",
                     olddecl);

should the second permerror be a note instead ?

-- 
Fabien

Reply via email to