aboutsummaryrefslogtreecommitdiff
path: root/common/xmlparser.cpp
diff options
context:
space:
mode:
authorMax Horn2011-05-02 14:42:08 +0200
committerMax Horn2011-05-02 16:31:31 +0200
commit59e77ed66779d33a14a5f4d2a5885a70b793f36f (patch)
tree3ca3827f015218ff995faa8be78e21cd631be8ff /common/xmlparser.cpp
parent58eebff8039bb5cfc9a66bcfadfe078abb94556f (diff)
downloadscummvm-rg350-59e77ed66779d33a14a5f4d2a5885a70b793f36f.tar.gz
scummvm-rg350-59e77ed66779d33a14a5f4d2a5885a70b793f36f.tar.bz2
scummvm-rg350-59e77ed66779d33a14a5f4d2a5885a70b793f36f.zip
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
Diffstat (limited to 'common/xmlparser.cpp')
-rw-r--r--common/xmlparser.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp
index 7a6e794e11..e2e1dbdfc7 100644
--- a/common/xmlparser.cpp
+++ b/common/xmlparser.cpp
@@ -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"