Skip to content
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

Building from git master requires DEBUG #214

Closed
wltjr opened this issue Jan 11, 2022 · 0 comments · Fixed by #215
Closed

Building from git master requires DEBUG #214

wltjr opened this issue Jan 11, 2022 · 0 comments · Fixed by #215

Comments

@wltjr
Copy link

wltjr commented Jan 11, 2022

This might be known and intentional, but without setting DEBUG, the following errors occur during build. The missing variables are wrapped in #ifdef DEBUG

../src/x11/xf86Wacom.c:706:34: error: ‘pInfo’ undeclared (first use in this function); did you mean ‘AgpInfo’?
  706 |         int n = xf86WaitForInput(pInfo->fd, 0);
      |                                  ^~~~~
      |                                  AgpInfo
../src/x11/xf86Wacom.c:706:34: note: each undeclared identifier is reported only once for each function it appears in
../src/x11/xf86Wacom.c: In function ‘wcmDevSwitchMode’:
../src/x11/xf86Wacom.c:857:37: error: ‘priv’ undeclared (first use in this function)
  857 |         return wcmDevSwitchModeCall(priv, is_absolute) ? Success : XI_BadMode;
      |                                     ^~~~
@wltjr wltjr changed the title Building from git head requires DEBUG Building from git master requires DEBUG Jan 11, 2022
whot added a commit to whot/xf86-input-wacom that referenced this issue Jan 11, 2022
Fixes linuxwacom#214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
whot added a commit to whot/xf86-input-wacom that referenced this issue Jan 11, 2022
Fixes linuxwacom#214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
whot added a commit to whot/xf86-input-wacom that referenced this issue Jan 11, 2022
Fixes linuxwacom#214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
whot added a commit to whot/xf86-input-wacom that referenced this issue Jan 11, 2022
Fixes linuxwacom#214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
@whot whot closed this as completed in #215 Jan 16, 2022
whot added a commit that referenced this issue Jan 16, 2022
Fixes #214

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant