[YBA] g++ newbie: No warn on missing method implementation?
Oleg Goldshmidt
pub at goldshmidt.org
Tue Jul 13 12:43:31 IDT 2010
2010/7/13 Jonathan Ben Avraham <yba at tkos.co.il>:
> Hi Shachar,
> Right, right.
> I also think that the VS2008 is doing something "extra".
>
> My problem is that I have a class with 70+ methods and the customer keeps
> changing the specs. I need some way to verify that all of the methods
> declared in the class have implementations. The most common mistake is that
> I change the method name in the class but forget to change the name in the
> implementation. I suppose that I could write a Perl script that would
> automatically generate method calls from the class method declarations and
> then watch for link errors.
A more general way to deal with that is to write a comprehensive unit
test suite. Or have such a suite generated by perl or other suitable
means... ;-)
--
Oleg Goldshmidt | pub at goldshmidt.org
More information about the Linux-il
mailing list