ALL: Mark printf and various other symbols as forbidden

Right now, a few places in the frontend code still use printf and
consorts. We mark the affected files with a FIXME for now, and
add a dedicated exception for each. To be fixed!

Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always
enforce a compiler error
This commit is contained in:
Max Horn 2011-05-02 14:42:08 +02:00
parent 58eebff803
commit 59e77ed667
17 changed files with 164 additions and 35 deletions

View file

@ -23,6 +23,13 @@
*
*/
// FIXME: Avoid using fprintf
#define FORBIDDEN_SYMBOL_EXCEPTION_fprintf
// FIXME: Avoid using vfprintf
#define FORBIDDEN_SYMBOL_EXCEPTION_vfprintf
#include "common/xmlparser.h"
#include "common/archive.h"
#include "common/fs.h"