! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
FTBFS with DEBUG_TRACE enabled due to a reference to a non-existent variable
Status:
RESOLVED: MOVED

Comments

Description David H. Gutteridge 2020-01-02 17:27:18 CET
While trying to build xfwm4 with DEBUG_TRACE enabled, I hit the following issue:

  CC       xfwm4-misc.o
In file included from /home/disciple/pkgsrc/wm/xfce4-wm/work/.buildlink/include/xfce4/libxfce4util/libxfce4util.h:29:0,
                 from misc.c:39:
misc.c: In function 'getMouseXY':
misc.c:54:30: error: 'w' undeclared (first use in this function)
     TRACE ("window (0x%lx)", w);
                              ^
There is no "w" variable in that function; I think this is just a copy/pasto from somewhere else in the code. I've simply commented it out in my tree.

(That's the only issue I encountered when DEBUG_TRACE is enabled. Otherwise, it compiles and logs output as expected.)
Comment 1 Andre Miranda editbugs 2020-01-05 20:25:59 CET
That function used to have a "Window w" parameter until this commit:
https://git.xfce.org/xfce/xfwm4/commit/?id=f06d814

I think the fix is to replace "w" with "screen_info->xroot".
Comment 2 Git Bot editbugs 2020-05-29 12:33:05 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/366.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16329

Reported by:
David H. Gutteridge
Reported on: 2020-01-02
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.14.0

Attachments

Additional information