=== modified file 'src/main.cpp'
@@ -7,8 +7,13 @@
#include "screen-sdl-glesv2.h"
#endif
+#define UNUSED_PARAM(x) (void)(x)
+
int main(int argc, char *argv[])
{
+ UNUSED_PARAM(argc);
+ UNUSED_PARAM(argv);
+
SDL_Event event;
int running = 1;
unsigned current_scene = 0;
=== modified file 'wscript'
@@ -62,7 +62,7 @@
conf.check_cfg(package = pkg, uselib_store = uselib, args = '--cflags --libs',
mandatory = mandatory)
- conf.env.append_unique('CXXFLAGS', '-Wall -Wextra -pedantic'.split(' '))
+ conf.env.append_unique('CXXFLAGS', '-Wall -Wextra -fms-extensions'.split(' '))
# Prepend -O# and -g flags so that they can be overriden by the CFLAGS environment variable
if Options.options.opt: