[Top][All Lists]
[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: |
phresnel at gmail dot com |
Subject: |
[Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'" |
Date: |
7 Jul 2010 21:37:35 -0000 |
------- Additional Comments From drow at false dot org 2010-07-07 16:04 -------
Subject: Re: Add suggestion to error "undefined reference to
`vtable for XXX'"
On Wed, Jul 07, 2010 at 03:50:32PM -0000, manu at gcc dot gnu dot org wrote:
> I understand your frustration, but linker and compiler do not share a lot of
> information and I think there is no way (right now) to give a good diagnostic
> for this case. The linker does not know about vtables, pure functions and C++
> in
> general.
If there's an undefined reference to a vtable, what more does the
linker need?
------- Additional Comments From phresnel at gmail dot com 2010-07-07 21:37
-------
(In reply to comment #3)
> I understand your frustration, but linker and compiler do not share a lot of
> information and I think there is no way (right now) to give a good diagnostic
> for this case. The linker does not know about vtables, pure functions and C++
> in
> general.
I understand that there is not any C++ information available at that point of
linking, but given the error message, it's prolly possible to look-up a
suggestion somewhere, or even just extend the error message in question.
>
> I don't think that LLVM/Clang gives a better diagnostic here, because they
> will
> need a linker integrated tightly in the compiler, and (so far) they are using
> the GNU linker. If you can show us otherwise, that would be great because I
> really wish we could provide better diagnostics from the linker.
I did not know this, interesting.
--
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.
- [Bug ld/11793] New: Add suggestion to error "undefined reference to `vtable for XXX'", phresnel at gmail dot com, 2010/07/07
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'", manu at gcc dot gnu dot org, 2010/07/07
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'", zilla at kayari dot org, 2010/07/07
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'", phresnel at gmail dot com, 2010/07/07
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'", manu at gcc dot gnu dot org, 2010/07/07
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'",
phresnel at gmail dot com <=
- [Bug ld/11793] Add suggestion to error "undefined reference to `vtable for XXX'", jyasskin at gmail dot com, 2010/07/13