Implement -Wmain.
[cparser] / warning.h
index f1eafb7..4bacbb5 100644 (file)
--- a/warning.h
+++ b/warning.h
@@ -33,7 +33,9 @@ typedef struct warning_t {
 #if 0 // TODO
        bool inline:1;                        /* Warn if a function can not be inlined and it was declared as inline */
        bool long_long:1;                     /* Warn if 'long long' type is used */
+#endif
        bool main:1;                          /* Warn if the type of 'main' is suspicious */
+#if 0 // TODO
        bool missing_braces:1;                /* Warn if an aggregate or union initializer is not fully bracketed */
 #endif
        bool missing_declarations:1;          /* Warn if a global function is defined without a previous declaration */