[Cppunit-devel] Weffc++ warnings on cppunit 1.10.2
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2006-08-16 17:45:56
|
Hi there! My name is Marcel Winandy. I am working with the EMSCB project, where we use cppunit to implement and perform our unit tests. We noticed that there are several warnings with cppunit when using GCC with -Weffc++ warnings activated. I have patched cppunit 1.10.2 to be compliant to the -Weffc++ GCC compiler warnings (warnings according to "Effective C++" books by Scott Meyers). The patch contains some minor changes to several classes. Mainly, this often results in using the constructor list instead of assignments within the constructor, disallowing copy construction or assignment operator or explicitly defining them (in order to avoid semantics problems in case a pointer data member exists), etc. Being compliant to Weffc++ warnings often helps to avoid later problems. See books by Scott Meyers for more details. I would like to contribute this patch to your project and just want to ask where to post the patch. Is it OK to post it on this list? Kind regards Marcel Winandy -- Marcel Winandy http://www.prosec.rub.de/staff/winandy.html Applied Data Security Group, Ruhr-University Bochum, Germany |