This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: cc1plus.exe: warning: -fvtable-gc is no longer supported
Jon Hartley wrote:
> -fvtable-gc is the only virtual method calling implementation that worked
> for me under ecos (other methods seemed to generate null pointers to the
> v-functions). So I guess this is a concern!
-fvtable-gc shouldn't change the way virtual methods are called, it's
supposed to throw away method implementations that are *not* called. But
it looks like it sometimes throws away more than it should.
Patrick: Which gcc are you using? IIRC, the option was removed for gcc
3.0 and the re-added later on.
Martin