Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 850258 Details for
Bug 893728
sys-devel/gettext: 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
file_893728.txt (text/plain), 5.62 KB, created by
Sam James
on 2023-02-09 04:47:43 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Sam James
Created:
2023-02-09 04:47:43 UTC
Size:
5.62 KB
patch
obsolete
>--- /var/tmp/portage/sys-devel/gettext-0.21.1/temp/clang16-safe.log 2023-02-06 11:50:02.423752804 +0000 >+++ /var/tmp/portage/sys-devel/gettext-0.21.1/temp/clang16-errors.log 2023-02-06 11:50:02.423752804 +0000 >@@ -134,16 +134,13 @@ > ignoreme: error: redeclaration of 'environ' with a different type: 'foo_t' vs 'char **' > extern foo_t environ; > ^ >-/usr/include/unistd.h:566:15: note: previous declaration is here >+/usr/include/unistd.h:566:14: note: previous declaration is here > extern char **environ; > ^ > ignoreme: error: member reference base type 'char **' is not a structure or union > environ.foo = 1; > ~~~~~~~^~~~ > 2 errors generated. >-ignoreme: fatal error: 'conftest.h' file not found >-#include <conftest.h> >- ^~~~~~~~~~~~ > ignoreme: error: expected expression > if (sizeof ((pid_t))) > ^ >@@ -199,6 +196,7 @@ > ignoreme: error: expected identifier or '(' > ^ > 2 errors generated. >+error: error reading 'conftest.c' > ignoreme: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] > char memmove (); > ^ >@@ -318,11 +316,11 @@ > 2 errors generated. > ^~~~~~~~~~~~~~~~~~ > ^~~~~~~~~~~~~~~~~~ >-ignoreme: fatal error: 'minix/config.h' file not found >-#include <minix/config.h> >- ^~~~~~~~~~~~~~~~ >-ignoreme: fatal error: 'xlocale.h' file not found >-#include <xlocale.h> >+ignoreme: fatal error: 'crtdefs.h' file not found >+#include <crtdefs.h> >+ ^~~~~~~~~~~ >+ignoreme: fatal error: 'crtdefs.h' file not found >+#include <crtdefs.h> > ^~~~~~~~~~~ > ignoreme: fatal error: 'crtdefs.h' file not found > #include <crtdefs.h> >@@ -386,22 +384,6 @@ > char strcasecmp (); > ^ > ignoreme: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' >-ignoreme: error: unknown type name 'Found' >-Found it >-^ >-ignoreme: error: expected ';' after top level declarator >-Found it >- ^ >- ; >-2 errors generated. >-ignoreme: error: unknown type name 'Found' >-Found it >-^ >-ignoreme: error: expected ';' after top level declarator >-Found it >- ^ >- ; >-2 errors generated. > ignoreme: warning: address of array 'constants' will always evaluate to 'true' [-Wpointer-bool-conversion] > int result = !constants; > ~^~~~~~~~~ >@@ -436,7 +418,7 @@ > ignoreme: error: redeclaration of 'environ' with a different type: 'foo_t' vs 'char **' > extern foo_t environ; > ^ >-/usr/include/unistd.h:566:15: note: previous declaration is here >+/usr/include/unistd.h:566:14: note: previous declaration is here > extern char **environ; > ^ > ignoreme: error: member reference base type 'char **' is not a structure or union >@@ -681,13 +663,13 @@ > ^~~~~~~~~~~ > 3 warnings generated. > ignoreme: warning: data argument not used by format string [-Wformat-extra-args] >- if (sprintf (buf, "%a %d", 3.1416015625, 33, 44, 55) < 0 >+ if (sprintf (buf, "%a %d", 3.1416014625, 33, 44, 55) < 0 > ~~~~~~~ ^ > /usr/include/bits/stdio2.h:37:30: note: expanded from macro 'sprintf' > __glibc_objsize (str), __VA_ARGS__) > ^~~~~~~~~~~ > ignoreme: warning: data argument not used by format string [-Wformat-extra-args] >- if (sprintf (buf, "%A %d", -3.1416015625, 33, 44, 55) < 0 >+ if (sprintf (buf, "%A %d", -3.1416014625, 33, 44, 55) < 0 > ~~~~~~~ ^ > /usr/include/bits/stdio2.h:37:30: note: expanded from macro 'sprintf' > __glibc_objsize (str), __VA_ARGS__) >@@ -772,16 +754,12 @@ > /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sys-devel/gettext-0.21.1/temp/conftest.o: in function `main': > /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/libtextstyle/conftest.c:129: undefined reference to `tgetent' > /usr/bin/x86_64-pc-linux-gnu-ld.bfd: cannot find -ltermcap: No such file or directory >-ignoreme: warning: incompatible pointer to integer conversion returning 'char *' from a function with result type 'int' [-Wint-conversion] >+ignoreme: error: incompatible pointer to integer conversion returning 'char *' from a function with result type 'int' [-Wint-conversion] > return tparam ("\033\133%dm", &buf, 1, 8); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >-/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sys-devel/gettext-0.21.1/temp/conftest.o: in function `main': >-/var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/libtextstyle/conftest.c:130: undefined reference to `tparam' >-ignoreme: warning: incompatible pointer to integer conversion returning 'char *' from a function with result type 'int' [-Wint-conversion] >+ignoreme: error: incompatible pointer to integer conversion returning 'char *' from a function with result type 'int' [-Wint-conversion] > return tparm ("\033\133%dm", 8); > ^~~~~~~~~~~~~~~~~~~~~~~~ >-/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sys-devel/gettext-0.21.1/temp/conftest.o: in function `main': >-/var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/libtextstyle/conftest.c:129: undefined reference to `tparm' > /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sys-devel/gettext-0.21.1/temp/conftest.o:(.data+0x0): undefined reference to `fabs' > ignoreme: warning: passing 'volatile double *' to parameter of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] > if (memcmp (&y, &x, sizeof x))
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 893728
: 850258