------- Comment #6 from gcc at eseidel dot com  2009-01-21 01:38 -------
We just hit this when hacking on Chromium code.  We were calling a virtual
function from a constructor (unintentionally) and the bug was that GCC was
silently calling the base-class implementation.  After consulting the web, it
seems this is correct behavior.  It would have ben nice if GCC had warned when
compiling the constructor function that the virtual call would not have worked
"as naively suspected".

Thanks!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33475

Reply via email to