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: [patch] Improve linker errors for missing key method definitions


Jeffrey Yasskin wrote:

> Mark, do you think you'll get a chance to review this patch?

I apologize for being slow to respond to this.

> The patch at http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01124/keymethod.patch
> still applies and passes check-g++. The changelog was in
> http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01116.html.

I like the idea of improving diagnostics and I do understand that this
is a situation that can be difficult to debug.  However, I don't really
like the idea of changing code-generation in this way in order to
trigger the error.  I'd rather have the compiler emit some non-code
annotation that the linker could use.  Perhaps, with -g, this could just
be an additional DWARF annotation somewhere.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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