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

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

Shachar Shemesh shachar at shemesh.biz
Tue Jul 13 12:46:41 IDT 2010


Jonathan Ben Avraham wrote:
> 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.
That would not compile. The implementation under the old name would not 
match any method declaration, and the compiler would complain.

Shachar
> 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.
>
> Regards,
>
>  - yba

-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100713/58f62d8c/attachment.html>


More information about the Linux-il mailing list