--- clang-14.log 2022-11-02 22:36:13.681761671 +1100 +++ clang-15.log 2022-11-02 22:36:13.681761671 +1100 @@ -114,34 +114,37 @@ /usr/include/x86_64-pc-linux-gnu/openssl/opensslconf.h:118:55: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: warning: call to undeclared function 'TLSv1_3_client_method'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: call to undeclared function 'TLSv1_3_client_method'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ctx = SSL_CTX_new( TLSv1_3_client_method() ); ^ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new( TLSv1_3_client_method() ); ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ssl.h:1513:47: note: passing argument to parameter 'meth' here +/usr/include/openssl/ssl.h:1413:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ +2 errors generated. -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: warning: call to undeclared function 'SSLv2_server_method'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: call to undeclared function 'SSLv2_server_method'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ctx = SSL_CTX_new( SSLv2_server_method() ); ^ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new( SSLv2_server_method() ); ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ssl.h:1513:47: note: passing argument to parameter 'meth' here +/usr/include/openssl/ssl.h:1413:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: warning: call to undeclared function 'SSLv3_server_method'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +2 errors generated. +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: call to undeclared function 'SSLv3_server_method'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] ctx = SSL_CTX_new( SSLv3_server_method() ); ^ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:12:24: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ctx = SSL_CTX_new( SSLv3_server_method() ); ^~~~~~~~~~~~~~~~~~~~~ -/usr/include/openssl/ssl.h:1513:47: note: passing argument to parameter 'meth' here +/usr/include/openssl/ssl.h:1413:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ +2 errors generated. /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:12: error: incompatible pointer to integer conversion returning 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') from a function with result type 'int' [-Wint-conversion] return SSL_CTX_get_ssl_method( ctx ); @@ -385,7 +388,7 @@ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:11:28: error: use of undeclared identifier 'u32' return x8+u8+x16+u16+x32+u32; ^ -15 errors generated. +14 errors generated. @@ -439,10 +442,10 @@ getwd( 0L ); ~~ ^ 2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage-d63697.o: in function `main': +/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage-cddc04.o: in function `main': actestportage.c:(.text+0x4): warning: the `getwd' function is dangerous and should not be used. -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:23:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:23:12: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] __noreturn stop() { ^ int @@ -487,60 +490,60 @@ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actest.portage.c:31:45: error: use of undeclared identifier 'ns_t_zxfr' if( !strcmp( n, "ns_t_zxfr" ) ) { return ns_t_zxfr; } ^ -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:5:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( argc, argv ) ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:4: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:4: error: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] printf( "%d\n", gethostbyname( "toto" ) ); ^ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:4: note: include the header or explicitly provide a declaration for 'printf' -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:20: warning: call to undeclared function 'gethostbyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:20: error: call to undeclared function 'gethostbyname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] printf( "%d\n", gethostbyname( "toto" ) ); ^ -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:21: warning: call to undeclared function 'getsockname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:21: error: call to undeclared function 'getsockname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] printf( "%8x\n", getsockname( 0L, 0L, 0L ) ); ^ -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:11:21: warning: call to undeclared function 'accept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:11:21: error: call to undeclared function 'accept'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] printf( "%8x\n", accept( 0L, 0L, 0L ) ); ^ /var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:5:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main( argc, argv ) ^ -6 warnings generated. -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:8:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +1 warning and 5 errors generated. +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:8:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:12: warning: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:12: error: call to undeclared function 'inet_aton'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return (inet_aton( "127.0.0.1", (void *)argv ) > 0); ^ -2 warnings generated. -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:9:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:12: warning: call to undeclared function 'inet_pton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:12: error: call to undeclared function 'inet_pton'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return (inet_pton( AF_INET, "127.0.0.1", (void *)argv ) > 0); ^ -2 warnings generated. -/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/var/tmp/portage/dev-scheme/bigloo-4.4c_p4-r3/temp/actestportage.c:10:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main( int argc, char *argv[] ) { ^ int