[YBA] g++ newbie: No warn on missing method implementation?

[YBA] g++ newbie: No warn on missing method implementation?

Jonathan Ben Avraham yba at tkos.co.il
Tue Jul 13 11:31:58 IDT 2010


Dear linux-il list,
g++ seems to be quite happy to compile and link a program that has a class 
that includes method declarations that are not implemented, as log as 
those methods are not called explicitly in the code. VS2008 seems to be 
able to discover this, either at compile or link time. Any way to do this 
in g++?
Thanks,

  - yba

-- 
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
      - yba at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the Linux-il mailing list