Skip to content

Bug: Build failure with newer gcc #14

@r-value

Description

@r-value

slim/panel.cpp

Line 51 in 4a40caf

if (WinGC < 0) {

It triggered an error: ordered comparison of pointer with integer zero.

WinGC is a pointer and I can't figure out what WinGC < 0 means. This branch is never taken and actually optimized out if built with older gcc. Could you please explain or fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions