va_list ap;
va_start(ap, fmt);
warning_switch_t const *const s = get_warn_switch(warn);
- switch (s->state) {
+ switch ((unsigned) s->state) {
char const* kind;
case WARN_STATE_ON:
if (is_warn_on(WARN_ERROR)) {
#define POP_SCOPE() (assert(current_scope == new_scope), scope_pop(old_scope), environment_pop_to(top))
#define PUSH_EXTENSION() \
+ (void)0; \
bool const old_gcc_extension = in_gcc_extension; \
while (next_if(T___extension__)) { \
in_gcc_extension = true; \
case '&': /* & x; -> int& x; (and error later, because C++ has no
implicit int) */
case '*': /* * x; -> int* x; */
- case '(':; /* (x); -> int (x); */
+ case '(': /* (x); -> int (x); */
PUSH_EXTENSION();
parse_external_declaration();
POP_EXTENSION();