Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919225 - x11-plugins/wmDownload-0.1.2a-r4 - wmDownload.c: error: passing argument 4 of DAMakePixmapFromData from incompatible pointer type [-Wincompatible-poin
Summary: x11-plugins/wmDownload-0.1.2a-r4 - wmDownload.c: error: passing argument 4 of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 20:16 UTC by Toralf Förster
Modified: 2024-04-03 08:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,22.00 KB, text/plain)
2023-12-04 20:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,87.89 KB, application/x-xz)
2023-12-04 20:16 UTC, Toralf Förster
Details
environment (environment,62.75 KB, text/plain)
2023-12-04 20:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-04 20:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.14 KB, application/x-xz)
2023-12-04 20:17 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,94.38 KB, application/x-xz)
2023-12-04 20:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,15.96 KB, application/x-xz)
2023-12-04 20:17 UTC, Toralf Förster
Details
x11-plugins:wmDownload-0.1.2a-r4:20231204-060945.log (x11-plugins:wmDownload-0.1.2a-r4:20231204-060945.log,6.91 KB, text/plain)
2023-12-04 20:17 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-04 20:16:56 UTC
  168 |                 devnum %= (device == "eth")?numeth:numppp;
      |                                   ^~
wmDownload.c:172:35: warning: comparison with string literal results in unspecified behavior [-Waddress]
  172 |                         if(device == "eth" && (numppp != 0))
      |                                   ^~
wmDownload.c: In function main:
wmDownload.c:276:59: error: passing argument 4 of DAMakePixmapFromData from incompatible pointer type [-Wincompatible-pointer-types]
  276 |         DAMakePixmapFromData (master_xpm, &pixmap, &mask, &height, &width);
      |                                                           ^~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-162118

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit e6355ec1ee123a5a2b7155da486ba61988b0a30c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 4 03:16:56 2023 +0000

    2023-12-04 03:16:55 UTC

emerge -qpvO x11-plugins/wmDownload
[ebuild  N    ] x11-plugins/wmDownload-0.1.2a-r4
Comment 1 Toralf Förster gentoo-dev 2023-12-04 20:16:57 UTC
Created attachment 877135 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 20:16:59 UTC
Created attachment 877136 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 20:17:00 UTC
Created attachment 877137 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 20:17:01 UTC
Created attachment 877138 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 20:17:02 UTC
Created attachment 877139 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 20:17:04 UTC
Created attachment 877140 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-04 20:17:05 UTC
Created attachment 877141 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 20:17:05 UTC
Created attachment 877142 [details]
x11-plugins:wmDownload-0.1.2a-r4:20231204-060945.log
Comment 9 Larry the Git Cow gentoo-dev 2024-04-03 08:14:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f2f5b261a39c21904223eeb8f1da1d5d9b7a67

commit 09f2f5b261a39c21904223eeb8f1da1d5d9b7a67
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-04-02 06:40:41 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2024-04-03 08:10:32 +0000

    x11-plugins/wmDownload: ensure GCC-14 and C99 compatibility
    
    Switching unsigned ints to unsigned shorts: That's (pointers to) what library craves.
    
    Closes: https://bugs.gentoo.org/919225
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36052
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 .../files/wmDownload-0.1.2a-shorten-integers.patch          | 13 +++++++++++++
 ...ownload-0.1.2a-r4.ebuild => wmDownload-0.1.2a-r5.ebuild} |  9 +++++----
 2 files changed, 18 insertions(+), 4 deletions(-)