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]

Re: [C++ patch] for C++/52369


On 03/31/2014 04:27 PM, Fabien ChÃne wrote:
     * cp/init.c (perform_member_init): Homogenize uninitialized
     diagnostics.

OK.

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 ?

Yes.

Jason



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]