Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877081 Details for
Bug 919218
x11-plugins/wmcms-0.3.5-r4 - wmcms.c: error: implicit declaration of function strstr [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-plugins:wmcms-0.3.5-r4:20231204-100416.log
x11-plugins:wmcms-0.3.5-r4:20231204-100416.log (text/plain), 6.18 KB, created by
Toralf Förster
on 2023-12-04 20:13:59 UTC
(
hide
)
Description:
x11-plugins:wmcms-0.3.5-r4:20231204-100416.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 20:13:59 UTC
Size:
6.18 KB
patch
obsolete
> * Package: x11-plugins/wmcms-0.3.5-r4:0 > * Repository: gentoo > * Maintainer: voyageur@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking wmcms-0.3.5.tar.gz to /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work >>>> Source unpacked in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work >>>> Preparing source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... > * Applying wmcms-0.3.5-s4t4n.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5 ... >make -j4 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color' CC=x86_64-pc-linux-gnu-gcc >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color wmcms.c -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o wmcms -lXext -lX11 -L/usr/X11R6/lib -lXpm -ldockapp >wmcms.c: In function âmainâ: >wmcms.c:210:52: error: passing argument 4 of âDAMakePixmapFromDataâ from incompatible pointer type [-Wincompatible-pointer-types] > 210 | DAMakePixmapFromData(wmcms_xpm, &backdrop, None, &b_width, &b_height); > | ^~~~~~~~ > | | > | unsigned int * >In file included from wmcms.c:21: >/usr/include/libdockapp/dockapp.h:286:43: note: expected âshort unsigned int *â but argument is of type âunsigned int *â > 286 | unsigned short *width, unsigned short *height); > | ~~~~~~~~~~~~~~~~^~~~~ >wmcms.c:210:62: error: passing argument 5 of âDAMakePixmapFromDataâ from incompatible pointer type [-Wincompatible-pointer-types] > 210 | DAMakePixmapFromData(wmcms_xpm, &backdrop, None, &b_width, &b_height); > | ^~~~~~~~~ > | | > | unsigned int * > >/usr/include/libdockapp/dockapp.h:286:66: note: expected âshort unsigned int *â but argument is of type âunsigned int *â > 286 | unsigned short *width, unsigned short *height); > | ~~~~~~~~~~~~~~~~^~~~~~ > >wmcms.c: In function âGet_Kernel_versionâ: >wmcms.c:375:13: error: implicit declaration of function âstrstrâ [-Wimplicit-function-declaration] > 375 | if (strstr(buf, "2.6.")) return IS_2_6; > | ^~~~~~ >wmcms.c:25:1: note: include â<string.h>â or provide a declaration of âstrstrâ > 24 | #include "wmcms.xpm" > +++ |+#include <string.h> > 25 | >wmcms.c:375:13: warning: incompatible implicit declaration of built-in function âstrstrâ [-Wbuiltin-declaration-mismatch] > 375 | if (strstr(buf, "2.6.")) return IS_2_6; > | ^~~~~~ >wmcms.c:375:13: note: include â<string.h>â or provide a declaration of âstrstrâ >In file included from wmcms.c:22: >state_linux_2.6.h: In function âget_cpuinfo_26â: >state_linux_2.6.h:39:3: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 39 | fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >state_linux_2.6.h: In function âget_meminfo_26â: >state_linux_2.6.h:49:3: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 49 | fscanf ( fp, "%*s %d %*s %*s %d %*s %*s %d %*s %*s %d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %*d %*s %*s %d %*s %*s %d %*s", > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 50 | &mem_total, &mem_free, &mem_buffers, &mem_cached, &swap_total, &swap_free ); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from wmcms.c:23: >state_linux_2.4.h: In function âget_cpuinfo_24â: >state_linux_2.4.h:37:3: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 37 | fscanf ( fp, "%*s %d %d %d %d", &cpu_user, &cpu_nice, &cpu_kernel, &cpu_idle ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >state_linux_2.4.h: In function âget_meminfo_24â: >state_linux_2.4.h:45:3: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 45 | fscanf ( fp, "%*s %*s %*s %*s %*s %*s %*s %d %d %*d %*d %d %d %*s %d %d", &mem_total, &mem_used, &mem_buffers, &mem_cached, &swap_total, &swap_used ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >wmcms.c: In function âchangeâ: >wmcms.c:128:9: warning: ignoring return value of âsystemâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 128 | system ( exe ); > | ^~~~~~~~~~~~~~ >make: *** [Makefile:12: wmcms] Error 1 > * ERROR: x11-plugins/wmcms-0.3.5-r4::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=x11-plugins/wmcms-0.3.5-r4::gentoo'`, > * the complete build log and the output of `emerge -pqv '=x11-plugins/wmcms-0.3.5-r4::gentoo'`. > * The complete build log is located at '/var/log/portage/x11-plugins:wmcms-0.3.5-r4:20231204-100416.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/temp/environment'. > * Working directory: '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5' > * S: '/var/tmp/portage/x11-plugins/wmcms-0.3.5-r4/work/wmcms-0.3.5' >
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 919218
:
877074
|
877075
|
877076
|
877077
|
877078
|
877079
|
877080
| 877081