Bug 1221028 - GCC 14: xdm package fails
Summary: GCC 14: xdm package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Current
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Gfx Bugs
QA Contact: Gfx Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-06 08:46 UTC by Michal Jireš
Modified: 2024-03-06 09:28 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jireš 2024-03-06 08:46:11 UTC
Building xdm with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/xdm/standard/x86_64

Due to (exhaustive list of errors):

chooser.c: In function ‘RebuildTable’:
chooser.c:280:26: error: passing argument 2 of ‘XawListChange’ from incompatible pointer type [-Wincompatible-pointer-types]
  280 |     XawListChange (list, newTable, size, 0, TRUE);
      |                          ^~~~~~~~
      |                          |
      |                          char **
In file included from chooser.c:59:
/usr/include/X11/Xaw/List.h:170:27: note: expected ‘const char **’ but argument is of type ‘char **’
  170 |  _Xconst char           **list,
      |                           ^

See the meta bug#1220571 for more info.
Comment 1 Stefan Dirsch 2024-03-06 09:28:22 UTC
Fixed.

https://build.opensuse.org/request/show/1155484