Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827541 Details for
Bug 879763
sci-libs/xgks-pmel: possible configure breakage with Clang 16
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clang.diff
clang.diff (text/plain), 44.71 KB, created by
Matt Jolly
on 2022-11-04 22:15:28 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:15:28 UTC
Size:
44.71 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:17.643748858 +1100 >+++ clang-15.log 2022-11-02 22:36:17.644748855 +1100 >@@ -1,131 +1,132 @@ > > > >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { /* Ultrix mips cc rejects this. */ > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { signed char x; > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern int foo(int bar); > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { ;} > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > t() { ;} > ^ >-4 warnings generated. >+1 warning and 3 errors generated. > >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { char *cp = MAKESTRING(foo); > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { char *GLUE(c,p) = "foo"; > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern void *foo(); > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >+1 warning and 3 errors generated. > > ignoreme: error: unknown type name 'error' > error > ^ >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { } > ^ > int >+3 errors generated. > > > >@@ -135,63 +136,66 @@ > /usr/include/bits/types/sigset_t.h:7:20: note: previous definition is here > typedef __sigset_t sigset_t; > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { } > ^ > int >+4 errors generated. > ignoreme: error: typedef redefinition with different types ('void' vs '__sig_atomic_t' (aka 'int')) > typedef void sig_atomic_t; > ^ > /usr/include/bits/types/sig_atomic_t.h:8:24: note: previous definition is here > typedef __sig_atomic_t sig_atomic_t; > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { } > ^ > int >+4 errors generated. > ignoreme: error: redefinition of 'sigaction' > struct sigaction {char *foo;}; > ^ > /usr/include/bits/sigaction.h:27:8: note: previous definition is here > struct sigaction > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { } > ^ > int >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigaction(); > ^ > int >@@ -207,15 +211,16 @@ > /usr/include/signal.h:243:12: note: previous declaration is here > extern int sigaction (int __sig, const struct sigaction *__restrict __act, > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigemptyset(); > ^ > int >@@ -231,15 +236,16 @@ > /usr/include/signal.h:199:12: note: previous declaration is here > extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigfillset(); > ^ > int >@@ -255,15 +261,16 @@ > /usr/include/signal.h:202:12: note: previous declaration is here > extern int sigfillset (sigset_t *__set) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigaddset(); > ^ > int >@@ -279,15 +286,16 @@ > /usr/include/signal.h:205:12: note: previous declaration is here > extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigdelset(); > ^ > int >@@ -303,15 +311,16 @@ > /usr/include/signal.h:208:12: note: previous declaration is here > extern int sigdelset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigismember(); > ^ > int >@@ -327,15 +336,16 @@ > /usr/include/signal.h:211:12: note: previous declaration is here > extern int sigismember (const sigset_t *__set, int __signo) > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigaction(); > ^ > int >@@ -351,15 +361,16 @@ > /usr/include/signal.h:243:12: note: previous declaration is here > extern int sigaction (int __sig, const struct sigaction *__restrict __act, > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigprocmask(); > ^ > int >@@ -375,15 +386,16 @@ > /usr/include/signal.h:232:12: note: previous declaration is here > extern int sigprocmask (int __how, const sigset_t *__restrict __set, > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigpending(); > ^ > int >@@ -399,15 +411,16 @@ > /usr/include/signal.h:247:12: note: previous declaration is here > extern int sigpending (sigset_t *__set) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *sigsuspend(); > ^ > int >@@ -423,116 +436,109 @@ > /usr/include/signal.h:240:12: note: previous declaration is here > extern int sigsuspend (const sigset_t *__set) __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-libs/xgks-pmel-2.5.5/temp/conftest.o: in function `t': >-conftest.c:(.text+0x13): undefined reference to `sigvec' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-libs/xgks-pmel-2.5.5/temp/conftest.o: in function `t': >-conftest.c:(.text+0x13): warning: the `sigstack' function is dangerous. `sigaltstack' should be used instead. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/sci-libs/xgks-pmel-2.5.5/temp/conftest.o: in function `t': >-conftest.c:(.text+0x13): undefined reference to `bsdsigp' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+1 warning and 3 errors generated. > >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *atexit(); > ^ > int >@@ -548,32 +554,33 @@ > /usr/include/stdlib.h:602:12: note: previous declaration is here > extern int atexit (void (*__func) (void)) __THROW __nonnull ((1)); > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >+1 warning and 3 errors generated. > >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *strerror(); > ^ > int >@@ -584,15 +591,16 @@ > /usr/include/string.h:419:14: note: previous declaration is here > extern char *strerror (int __errnum) __THROW; > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { extern struct {int foo;} *strstr(); > ^ > int >@@ -603,31 +611,32 @@ > /usr/include/string.h:350:14: note: previous declaration is here > extern char *strstr (const char *__haystack, const char *__needle) > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 4 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+1 warning and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int >@@ -638,16 +647,16 @@ > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-5 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 warnings and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { exit(0); } > ^ > int >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > main() { exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > t() { > ^ > int >@@ -658,17 +667,17 @@ > ignoreme: warning: non-void function does not return a value [-Wreturn-type] > } > ^ >-5 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 warnings and 3 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() > ^ > int >-ignoreme: warning: call to undeclared function 'readsub'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared function 'readsub'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > return readsub((char*)NULL) ? 0 : 1; > ^ >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > readsub(inpath) > ^ > int > ignoreme: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] >-4 warnings generated. >+1 warning and 3 errors generated.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 879763
:
827537
|
827539
| 827541