bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/11793] Add suggestion to error "undefined reference to `vtable f


From: jyasskin at gmail dot com
Subject: [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'"
Date: 14 Jul 2010 03:25:43 -0000

------- Additional Comments From jyasskin at gmail dot com  2010-07-14 03:25 
-------
FWIW, I've mailed a patch to fix this: http://gcc.gnu.org/PR42540 / 
http://gcc.gnu.org/ml/gcc-
patches/2010-07/msg01116.html

It's not perfect, but it does mention the method the user forgot to define. 
After that's in, it might make 
sense to have ld/gold omit "missing vtable" errors when there's any other 
missing function in the same 
class. In the worst case (the compiler didn't emit the fake use of the key 
method, and some other method 
was missing), that'll force the user to do an extra round of linking. In the 
best case, it'll avoid confusing 
them with a request for a symbol they can't define directly.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11793

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]