Bug 1220977 - GCC 14: libXaw3d package fails
Summary: GCC 14: libXaw3d package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-05 14:18 UTC by Michal Jireš
Modified: 2024-03-06 09:35 UTC (History)
2 users (show)

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-05 14:18:19 UTC
Building libXaw3d with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libXaw3d/standard/x86_64

Due to (exhaustive list of errors):

MultiSink.c: In function 'SetValues':
MultiSink.c:595:18: error: passing argument 1 of 'SetTabs' from incompatible pointer type [-Wincompatible-pointer-types]
  595 |         SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs );
      |                  ^
      |                  |
      |                  MultiSinkObject {aka struct _MultiSinkRec *}
MultiSink.c:99:21: note: expected 'Widget' {aka 'struct _WidgetRec *'} but argument is of type 'MultiSinkObject' {aka 'struct _MultiSinkRec *'}
   99 | static void SetTabs(Widget, int, short *);
      |                     ^~~~~~

See the meta bug#1220571 for more info.
Comment 1 Dr. Werner Fink 2024-03-05 14:58:37 UTC
Should be fixed with upstream commit 7b4af57e8a1471747e17fff184032d8250e598b6 I guess ... will submit new version ... please retest
Comment 2 Dr. Werner Fink 2024-03-05 15:04:03 UTC
Now we have libXaw3d-1.6.6
Comment 3 Dr. Werner Fink 2024-03-06 08:01:48 UTC
It builds with gcc14 as just tested
Comment 4 OBSbugzilla Bot 2024-03-06 09:35:01 UTC
This is an autogenerated message for OBS integration:
This bug (1220977) was mentioned in
https://build.opensuse.org/request/show/1155454 Factory / libXaw3d