[cfe-dev] GCC and Clang produce undefined references to functions with vague linkage
Alexandre Oliva
aoliva at redhat.com
Mon Jul 2 08:47:41 PDT 2012
On Jun 28, 2012, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> Unfortunately, this found a bug in both gcc and clang (or in the
> itanium ABI, it is not very clear). The testcase is
not well-formed C++, for it violates the one-definition rule in that it
*lacks* a definition for the virtual member function foo::~foo(). Does
it make any difference if you add a definition?
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the cfe-dev
mailing list