bbidulock / icewm

A window manager designed for speed, usability, and consistency
Other
585 stars 98 forks source link

compile fail #567

Closed cgm999 closed 3 years ago

cgm999 commented 3 years ago

Latest commit fails to compile:

gcc (GCC) 10.2.0 ` ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man make ... wmswitch.cc: In member function �virtual bool SwitchWindow::handleKey(const XKeyEvent&)�: wmswitch.cc:752:61: error: �modifiers� was not declared in this scope 752 | else if (isModKey(key.keycode) && notbit(key.state, modifiers())) { | ^~~~~ wmswitch.cc: At global scope: wmswitch.cc:760:10: error: no declaration matches �unsigned int SwitchWindow::modifiers()� 760 | unsigned SwitchWindow::modifiers() { | ^~~~ wmswitch.cc:760:10: note: no functions named �unsigned int SwitchWindow::modifiers()� In file included from wmswitch.cc:10: wmswitch.h:56:7: note: �class SwitchWindow� defined here 56 | class SwitchWindow: public YPopupWindow, IClosablePopup { | ^~~~ make[2]: *** [Makefile:1621: wmswitch.o] Error 1

==> ERROR: A failure occurred in build(). `