-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
icewm-1-3-BRANCH: Won't compile with enable-guievents enabled #1
Comments
Looking at the code, that option hasn't compiled since before 2002 (before 1.2.0) and I seriously question whether it ever compiled on 1-2-BRANCH or 1-3-BRANCH. Perhaps it compiled before the code was placed under git (1.1.x or some such). wmapp never existed in these objects. Perhaps it was a global that was removed. Do you know of a version on which it ever compiled? |
Ok. wmapp was a global. Commit 339dfe7 removed it. I'll see if I can add it back when CONFIG_GUIEVENTS is defined. |
I'm assuming it did compile at one point in time, but using git bisect is nearly useless as there are a lot of other bugs along the way that intertwine with other features downstream. I'd like to have this running again, but it seems this is beyond what I can currently do (I'm not as familiar with C++ as I am with C). I'm curious to see if the ALSA sound patch will still work with it. I modified the version that was posted here: http://sourceforge.net/p/icewm/patches/157/ ). |
Wow, I knew the issue was with either wmmgr.cc or it's header, but I never though it was this simple; It seems I should have just done what the compiler was asking for. If it would have been a snake it would have bit me; good thing it's not Python. Thanks for fixing this so quick. I'm going to close this issue as the GUI events seems to finally compile again. I wonder why this never got fixed in the CVS version, surely someone else would have noticed it before now. |
Translated using Weblate (Swedish)
Any attempts to compile on the 1.3 branch with GUI events enabled will result in the following error:
wmmgr.cc: In member function ‘void YWindowManager::activateWorkspace(long int)’:
wmmgr.cc:2370:9: error: ‘wmapp’ was not declared in this scope
wmapp->signalGuiEvent(geWorkspaceChange);
^
wmmgr.cc: In member function ‘void YWindowManager::checkLogout()’:
wmmgr.cc:2995:34: warning: ignoring return value of ‘int system(const char_)’, declared with attribute warn_unused_result [-Wunused-result]
system(rebootCommand);
^
wmmgr.cc:2998:36: warning: ignoring return value of ‘int system(const char_)’, declared with attribute warn_unused_result [-Wunused-result]
system(shutdownCommand);
^
make[1]: *** [wmmgr.o] Error 1
make[1]: Leaving directory `.../icewm/src'
make: *** [base] Error 2
It seems this bug was mentioned too on Sourceforge but was never fixed: http://sourceforge.net/p/icewm/bugs/910/
The text was updated successfully, but these errors were encountered: