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 02/23/2014 02:36 PM, Fabien Chêne wrote:
         * cp/method.c (walk_field_subobs): improve the diagnostic
     locations for both REFERENCE_TYPEs and non-static const members.

It's important to have the error location be the place where the actual problem is, namely the constructor definition. Instead of changing it, please add an inform pointing out the location of the member in question.

Jason


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