https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7356
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Known to fail| |5.3.0, 6.3.0, 7.0 --- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> --- No improvement in GCC 7 which reports the following followed by 70 more or so errors: $ cat t.C && gcc -S -Wall -xc t.C a//sample #include <stdlib.h> #include <stdio.h> #include <string.h> int main(int argc, char** argc) {} In file included from /usr/include/stdlib.h:32:0, from t.C:2: /ssd/build/gcc-git-svn/gcc/include/stddef.h:216:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘typedef’ typedef __SIZE_TYPE__ size_t; ^~~~~~~ In file included from t.C:2:0: /usr/include/stdlib.h:139:8: error: unknown type name ‘size_t’ extern size_t __ctype_get_mb_cur_max (void) __THROW __wur; ^~~~~~ ...