Contenu | Menu
mwplight splint

ANSI C (aka C90) conversion is now complete for mwplight, and the code refactoring is on the way; most of the long strings have been #defined, to improve the flow readability, and some of the global variables are now explicitly passed as parameters. This still is a work in progress, and an extensive in-code documentation (a la doxygen) is in the future plans.

splint test are also processed, in order to improve the code quality (type checking, buffer overflow, NULL pointers, ...). No errors are reported for splint +posixlib +weak -ansi89limits -bufferoverflowhigh and some additional markup is being added for a standard test (no +weak). There still is the issue of unsafe C90 sprintf() functions, but we may solve it through an external library in order to keep C/C++ compatability.