Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827559 Details for
Bug 879769
sys-apps/man2html: 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), 5.96 KB, created by
Matt Jolly
on 2022-11-04 22:15:48 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:15:48 UTC
Size:
5.96 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:17.935747924 +1100 >+++ clang-15.log 2022-11-02 22:36:17.935747924 +1100 >@@ -1,30 +1,30 @@ >-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); strerror(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] > 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' >-2 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 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' >-2 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 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); rindex(0, 0); bzero(0, 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); rindex(0, 0); bzero(0, 0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >@@ -35,31 +35,31 @@ > main() { exit(0); rindex(0, 0); bzero(0, 0); } > ^ > ignoreme: note: parenthesize the second argument to silence >-4 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 warnings and 2 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { uid_t x; 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() { uid_t x; exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-2 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 errors generated. >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { char *p = (char *) alloca(1); 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() { char *p = (char *) alloca(1); exit(0); } > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-2 warnings generated. >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+2 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' >-2 warnings generated. >+2 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 879769
:
827555
|
827557
| 827559