--- clang15.log 2022-11-10 23:37:06.796876439 +0100 +++ clang15.log 2022-11-10 23:31:10.518701307 +0100 @@ -25,60 +25,40 @@ +ignoreme: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] +static char *e (p, i) + ^ + + ignoreme: error: unknown type name 'barfbarf' barfbarf ^ -ignoreme: error: unknown type name 'Syntax' - Syntax error - ^ -ignoreme: error: expected ';' after top level declarator - Syntax error - ^ - ; -2 errors generated. -ignoreme: fatal error: 'ac_nonexistent.h' file not found -#include - ^~~~~~~~~~~~~~~~~~ -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files + +ignoreme: fatal error: 'minix/config.h' file not found +#include + ^~~~~~~~~~~~~~~~ +ignoreme: fatal error: 'minix/config.h' file not found +#include + ^~~~~~~~~~~~~~~~ + -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -ignoreme: fatal error: 'minix/config.h' file not found -#include - ^~~~~~~~~~~~~~~~ -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -ignoreme: fatal error: 'xlocale.h' file not found -#include - ^~~~~~~~~~~ -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files clang-14: error: no such file or directory: 'conftest.c' clang-14: error: no input files @@ -87,22 +67,39 @@ ignoreme: fatal error: 'crtdefs.h' file not found #include ^~~~~~~~~~~ -ignoreme: fatal error: 'crtdefs.h' file not found -#include - ^~~~~~~~~~~ - - -/usr/bin/x86_64-pc-linux-gnu-ld +ignoreme: error: unknown type name 'Syntax' + Syntax error + ^ +ignoreme: error: expected ';' after top level declarator + Syntax error + ^ + ; +2 errors generated. +ignoreme: fatal error: 'ac_nonexistent.h' file not found +#include + ^~~~~~~~~~~~~~~~~~ +ignoreme: fatal error: 'ac_nonexistent.h' file not found +#include + ^~~~~~~~~~~~~~~~~~ +ignoreme: fatal error: 'ac_nonexistent.h' file not found +#include + ^~~~~~~~~~~~~~~~~~ clang-14: error: no such file or directory: 'conftest.c' clang-14: error: no input files +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files +/usr/bin/x86_64-pc-linux-gnu-ld - +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files @@ -126,11 +123,9 @@ libraries: =/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.4:/usr/lib/gcc/x86_64-pc-linux-gnu/12:/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64:/lib/../lib64:/usr/lib/../lib64:/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/lib:/lib:/usr/lib clang-14: error: unsupported option '-print-multi-os-directory' -/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `yylex': -conftest.c:(.text+0x438): undefined reference to `yywrap' -/usr/bin/x86_64-pc-linux-gnu-ld.bfd: conftest.c:(.text+0xa11): undefined reference to `yywrap' + /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': -conftest.c:(.text+0x1c07): undefined reference to `yywrap' +conftest.c:(.text+0x2): undefined reference to `yywrap' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -147,39 +142,42 @@ +/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': +conftest.c:(.text+0x2): undefined reference to `_set_invalid_parameter_handler' +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) - - -error: error reading 'conftest.c' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': -conftest.c:(.text+0x4): undefined reference to `__fseterr' +conftest.c:(.text+0x2): undefined reference to `__fseterr' +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) +/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': +conftest.c:(.text+0x2): undefined reference to `__fseterr' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': -conftest.c:(.text+0x4): undefined reference to `getprogname' +conftest.c:(.text+0x2): undefined reference to `getprogname' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': -conftest.c:(.text+0x4): undefined reference to `getexecname' +conftest.c:(.text+0x2): undefined reference to `getexecname' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) -error: error reading 'conftest.c' + ignoreme: warning: incompatible redeclaration of library function 'strndup' [-Wincompatible-library-redeclaration] -char strndup (); +char strndup (void); ^ ignoreme: note: 'strndup' is a builtin with type 'char *(const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/app-text/recode-3.7.12/temp/conftest.o: in function `main': -conftest.c:(.text+0x4): undefined reference to `vasnprintf' +conftest.c:(.text+0x2): undefined reference to `vasnprintf' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] -char snprintf (); +char snprintf (void); ^ ignoreme: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' @@ -189,18 +187,14 @@ - - -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files +error: error reading 'conftest.c' ignoreme: warning: address of array 'constants' will always evaluate to 'true' [-Wpointer-bool-conversion] int result = !constants; ~^~~~~~~~~ + ignoreme: error: expected expression if (sizeof ((pid_t))) ^ -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files ignoreme: error: expected expression if (sizeof ((mode_t))) ^ @@ -209,37 +203,24 @@ ^ -ignoreme: error: 'check' declared as an array with a negative size -typedef int check[sizeof (long double) == sizeof (double) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ignoreme: error: expected expression -if (sizeof ((nlink_t))) - ^ -ignoreme: error: expected expression -if (sizeof ((nlink_t))) - ^ +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files -ignoreme: error: unknown type name 'not' - not a universal capable compiler - ^ -ignoreme: error: expected ';' after top level declarator - not a universal capable compiler - ^ - ; -2 errors generated. @@ -247,15 +228,9 @@ -ignoreme: error: unknown type name 'not' - not a universal capable compiler - ^ -ignoreme: error: expected ';' after top level declarator - not a universal capable compiler - ^ - ; -2 errors generated. +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files ignoreme: error: use of undeclared identifier 'not' not big endian ^ @@ -277,6 +252,7 @@ + ignoreme: error: call to undeclared function 'MIN'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int x = MIN (42, 17); ^ @@ -286,49 +262,48 @@ 2 errors generated. -ignoreme: error: 'array' declared as an array with a negative size -typedef int array[2 * (sizeof (mode_t) < sizeof (int)) - 1]; - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((sigset_t))) ^ - +ignoreme: error: expected expression +if (sizeof ((sigset_t))) + ^ ignoreme: error: expected expression -if (sizeof ((sighandler_t))) - ^ +if (sizeof ((volatile sig_atomic_t))) + ^ + ignoreme: error: expected expression if (sizeof ((sighandler_t))) ^ - +ignoreme: error: expected expression +if (sizeof ((_Bool))) + ^ ignoreme: error: expected expression if (sizeof ((_Bool))) ^ -error: error reading 'conftest.c' -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files -clang-14: error: no such file or directory: 'conftest.c' -clang-14: error: no input files + + + + ignoreme: warning: incompatible redeclaration of library function 'wcslen' [-Wincompatible-library-redeclaration] -char wcslen (); +char wcslen (void); ^ ignoreme: note: 'wcslen' is a builtin with type 'unsigned long (const int *)' @@ -377,9 +352,7 @@ if (sprintf (buf, "%010a %d", 1.0 / zero, 33, 44, 55) < 0 ~~~~~~~~~~ ^ 5 warnings generated. -ignoreme: warning: data argument not used by format string [-Wformat-extra-args] - if (sprintf (buf, "%F %d", 1234567.0, 33, 44, 55) < 0 - ~~~~~~~ ^ + @@ -388,19 +361,6 @@ ignoreme: warning: data argument not used by format string [-Wformat-extra-args] if (sprintf (buf, "%010f", 1.0 / zero, 33, 44, 55) < 0 ~~~~~~~ ^ -ignoreme: warning: data argument not used by format string [-Wformat-extra-args] - if (sprintf (buf, "%.4000d %d", 1, 33, 44) < 4000 + 3) - ~~~~~~~~~~~~ ^ -ignoreme: warning: data argument not used by format string [-Wformat-extra-args] - if (sprintf (buf, "%.4000f %d", 1.0, 33, 44) < 4000 + 5) - ~~~~~~~~~~~~ ^ -ignoreme: warning: data argument not used by format string [-Wformat-extra-args] - if (sprintf (buf, "%.511f %d", 1.0, 33, 44) < 511 + 5 - ~~~~~~~~~~~ ^ -ignoreme: warning: data argument not used by format string [-Wformat-extra-args] - if (sprintf (buf, "%.999f %d", 1.0, 33, 44) < 999 + 5 - ~~~~~~~~~~~ ^ -4 warnings generated. @@ -423,22 +383,8 @@ -ignoreme: error: unknown type name 'choke' -choke me -^ -ignoreme: error: expected ';' after top level declarator -choke me - ^ - ; -2 errors generated. -ignoreme: error: unknown type name 'choke' -choke me -^ -ignoreme: error: expected ';' after top level declarator -choke me - ^ - ; -2 errors generated. + + ignoreme: warning: passing 'volatile double *' to parameter of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] @@ -453,9 +399,8 @@ -ignoreme: error: use of undeclared identifier '__argv' - (void) __argv; - ^ + + @@ -466,7 +411,7 @@ ignoreme: warning: incompatible redeclaration of library function 'mempcpy' [-Wincompatible-library-redeclaration] -char mempcpy (); +char mempcpy (void); ^ ignoreme: note: 'mempcpy' is a builtin with type 'void *(void *, const void *, unsigned long)' @@ -487,6 +432,8 @@ +clang-14: error: no such file or directory: 'conftest.c' +clang-14: error: no input files @@ -495,12 +442,12 @@ if (ac_aggr.st_birthtimespec.tv_nsec) ~~~~~~~ ^ ignoreme: error: no member named 'st_birthtimespec' in 'struct stat' -if (ac_aggr.st_birthtimespec.tv_nsec) - ~~~~~~~ ^ -ignoreme: error: no member named 'st_birthtimespec' in 'struct stat' if (sizeof ac_aggr.st_birthtimespec.tv_nsec) ~~~~~~~ ^ ignoreme: error: no member named 'st_birthtimensec' in 'struct stat' +if (ac_aggr.st_birthtimensec) + ~~~~~~~ ^ +ignoreme: error: no member named 'st_birthtimensec' in 'struct stat' if (sizeof ac_aggr.st_birthtimensec) ~~~~~~~ ^ ignoreme: error: no member named 'st_birthtim' in 'struct stat' @@ -509,9 +456,6 @@ ignoreme: error: no member named 'st_birthtim' in 'struct stat' if (sizeof ac_aggr.st_birthtim.tv_nsec) ~~~~~~~ ^ -ignoreme: error: no member named 'st_birthtim' in 'struct stat' -if (sizeof ac_aggr.st_birthtim.tv_nsec) - ~~~~~~~ ^ @@ -567,12 +511,9 @@ -ignoreme: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] -main () - ^ - void + error: unknown warning option '-Wsuggest-attribute=cold'; did you mean '-WNSObject-attribute'? [-Werror,-Wunknown-warning-option] -clang-14: error: no such file or directory: 'conftest.c' +error: unknown warning option '-Wsuggest-attribute=const' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wsuggest-attribute=format'; did you mean '-Wproperty-attribute-mismatch'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wsuggest-attribute=malloc' [-Werror,-Wunknown-warning-option] error: unknown warning option '-Wsuggest-attribute=noreturn' [-Werror,-Wunknown-warning-option] @@ -585,61 +526,61 @@ error: unknown warning option '-Wunsafe-loop-optimizations' [-Werror,-Wunknown-warning-option] ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_UNISTD_H 1 +#define HAVE_SNPRINTF 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_SYS_STAT_H 1 +#define HAVE_MBRTOWC 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_INTTYPES_H 1 +#define HAVE_ALLOCA 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_SYS_TYPES_H 1 +#define HAVE_FREXP_IN_LIBC 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_STDINT_H 1 +#define HAVE_FREXPL_IN_LIBC 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_SNPRINTF 1 +#define SETLOCALE_NULL_ALL_MTSAFE 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_MBRTOWC 1 +#define SETLOCALE_NULL_ONE_MTSAFE 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_ALLOCA 1 +#define HAVE_STDINT_H 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_FREXP_IN_LIBC 1 +#define HAVE_STDINT_H 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_FREXPL_IN_LIBC 1 +#define HAVE_DECL_STRNDUP 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define SETLOCALE_NULL_ALL_MTSAFE 1 +#define HAVE_UTIME 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define SETLOCALE_NULL_ONE_MTSAFE 1 +#define HAVE_DECL__SNPRINTF 0 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_STDINT_H 1 +#define GNULIB_TEST_RAISE 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_STDINT_H 1 +#define DBL_EXPBIT0_WORD 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_SYMLINK 1 +#define GNULIB_TEST_PIPE 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define GNULIB_TEST_FGETS 1 +#define HAVE_WCSNLEN 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define HAVE_DLFCN_H 1 +#define HAVE_DECL_STRNLEN 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define GNULIB_TEST_MKDIR 1 +#define HAVE_SIGINTERRUPT 1 ^ ignoreme: error: macro is not used [-Werror,-Wunused-macros] -#define GNULIB_TEST_FREAD 1 +#define HAVE_DECL_FCLOSEALL 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. @@ -665,9 +606,9 @@ -ignoreme: fatal error: 'CoreFoundation/CFPreferences.h' file not found -#include - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ignoreme: fatal error: 'CoreFoundation/CFLocale.h' file not found +#include + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'CoreFoundation/CFLocale.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~