-CFLAGS := -Wall -g -O1
+CFLAGS := -Wall -Wextra -g -O1
COMMON_SRC = gltest.cpp glwindow.cpp glutil.cpp
COMMON_HDR = glwindow.h glutil.h
/**
- * Print table of all available configurations.
+ * If possible, irint table of all available configurations.
*/
static void
PrintModes(EGLDisplay d)
}
}
}
+#else
+ (void)d; /* mark d as unused */
#endif
}
int
-main(int argc, char *argv[])
+main(void)
{
int maj, min;
EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);