Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#72873 - [slim] fails to build with newer gcc

Attached to Project: Arch Linux
Opened by Andreas Baumann (andreas_baumann) - Monday, 29 November 2021, 14:09 GMT
Last edited by Evangelos Foutras (foutrelis) - Sunday, 19 December 2021, 04:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



/build/slim/src/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
51 | if (WinGC < 0) {
| ~~~~~~^~~
/build/slim/src/slim-1.3.6/panel.cpp: In member function ‘bool Panel::OnKeyPress(XEvent&)’:

This has been fixed upstream, see:

Additional info:
* 1.3.6-9

Steps to reproduce:
asp export extra/slim
cd slim
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Sunday, 19 December 2021, 04:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  slim 1.3.6-10
Comment by Andreas Baumann (andreas_baumann) - Monday, 29 November 2021, 14:23 GMT Comment by loqs (loqs) - Tuesday, 30 November 2021, 00:13 GMT
Looking at [1] XCreateGC can return NULL which is what the test may have been intended to check for?
Fedora seem to have come to the same conclusion [2].