Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927712 - x11-apps/xdm-1.1.15 - chooser.c: error: passing argument 2 of XawListChange from incompatible pointer type [-Wincompatible-pointer-types]
Summary: x11-apps/xdm-1.1.15 - chooser.c: error: passing argument 2 of XawListChange f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-03-24 14:58 UTC by Toralf Förster
Modified: 2024-04-22 16:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.46 KB, text/plain)
2024-03-24 14:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,213.86 KB, text/plain)
2024-03-24 14:58 UTC, Toralf Förster
Details
environment (environment,109.03 KB, text/plain)
2024-03-24 14:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-03-24 14:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.09 KB, application/x-xz)
2024-03-24 14:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,14.00 KB, application/x-xz)
2024-03-24 14:58 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,59.04 KB, application/x-xz)
2024-03-24 14:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.84 KB, application/x-xz)
2024-03-24 14:58 UTC, Toralf Förster
Details
x11-apps:xdm-1.1.15:20240324-143926.log (x11-apps:xdm-1.1.15:20240324-143926.log,21.79 KB, text/plain)
2024-03-24 14:58 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 2024-03-24 14:58:08 UTC
  142 |     { "-connectionType","*connectionType",  XrmoptionSepArg,    NULL },
      |       ^~~~~~~~~~~~~~~~~
chooser.c:142:25: warning: initialization discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  142 |     { "-connectionType","*connectionType",  XrmoptionSepArg,    NULL },
      |                         ^~~~~~~~~~~~~~~~~
chooser.c: In function RebuildTable:
chooser.c:229:26: error: passing argument 2 of XawListChange from incompatible pointer type [-Wincompatible-pointer-types]
  229 |     XawListChange (list, (_Xconst char **) newTable, size, 0, TRUE);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240319-203036

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0
  [2]   rust-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit d0102c79ed8ccba02593eaa200acb549ef973cd5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 24 14:04:45 2024 +0000

    2024-03-24 14:04:45 UTC

emerge -qpvO x11-apps/xdm
[ebuild  N    ] x11-apps/xdm-1.1.15  USE="pam truetype xinerama -systemd -xpm"
Comment 1 Toralf Förster gentoo-dev 2024-03-24 14:58:09 UTC
Created attachment 888417 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-24 14:58:10 UTC
Created attachment 888418 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-03-24 14:58:12 UTC
Created attachment 888419 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-03-24 14:58:13 UTC
Created attachment 888420 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-03-24 14:58:14 UTC
Created attachment 888421 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-24 14:58:15 UTC
Created attachment 888422 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-24 14:58:16 UTC
Created attachment 888423 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-24 14:58:17 UTC
Created attachment 888424 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-03-24 14:58:18 UTC
Created attachment 888425 [details]
x11-apps:xdm-1.1.15:20240324-143926.log
Comment 10 Matt Turner gentoo-dev 2024-04-22 16:13:10 UTC
I believe this is fixed in xdm-1.1.16.