You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when trying to make userspace-full you get rpesented by the following error
[Compiling doomgeneric_xlib.c]
doomgeneric_xlib.c:16:26: error: initialization of 'Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
16 | static Window s_Window = NULL;
| ^~~~
doomgeneric_xlib.c: In function 'DG_Init':
doomgeneric_xlib.c:109:5: error: implicit declaration of function 'XkbSetDetectableAutoRepeat' [-Wimplicit-function-declaration]
109 | XkbSetDetectableAutoRepeat(s_Display, 1, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_DrawFrame':
doomgeneric_xlib.c:137:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
137 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
In file included from doomgeneric_xlib.c:11:
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c:144:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
144 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_SetWindowTitle':
doomgeneric_xlib.c:198:89: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign]
198 | XChangeProperty(s_Display, s_Window, XA_WM_NAME, XA_STRING, 8, PropModeReplace, title, strlen(title));
| ^~~~~
| |
| const char *
In file included from /sysroot/usr/include/X11/Xlib.h:47:
/sysroot/usr/include/X11/Xlib.h:2085:5: note: expected 'const unsigned char ' but argument is of type 'const char '
2085 | _Xconst unsigned char / data */,
| ^
make: *** [Makefile:50: build/doomgeneric_xlib.o] Error 1
To Reproduce
Steps to reproduce the behavior:
git clone the repo with all submodules
run make userspace-full
Expected behavior
for it to build without any error
Screenshots
Environment (please complete the following information):
Host OS: Arch Linux
Host OS Version: Linux 6.9.3
The text was updated successfully, but these errors were encountered:
Describe the bug
when trying to make userspace-full you get rpesented by the following error
[Compiling doomgeneric_xlib.c]
doomgeneric_xlib.c:16:26: error: initialization of 'Window' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
16 | static Window s_Window = NULL;
| ^~~~
doomgeneric_xlib.c: In function 'DG_Init':
doomgeneric_xlib.c:109:5: error: implicit declaration of function 'XkbSetDetectableAutoRepeat' [-Wimplicit-function-declaration]
109 | XkbSetDetectableAutoRepeat(s_Display, 1, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_DrawFrame':
doomgeneric_xlib.c:137:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
137 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
In file included from doomgeneric_xlib.c:11:
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c:144:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
144 | KeySym sym = XKeycodeToKeysym(s_Display, e.xkey.keycode, 0);
| ^~~~~~
/sysroot/usr/include/X11/Xlib.h:1683:15: note: declared here
1683 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
doomgeneric_xlib.c: In function 'DG_SetWindowTitle':
doomgeneric_xlib.c:198:89: warning: pointer targets in passing argument 7 of 'XChangeProperty' differ in signedness [-Wpointer-sign]
198 | XChangeProperty(s_Display, s_Window, XA_WM_NAME, XA_STRING, 8, PropModeReplace, title, strlen(title));
| ^~~~~
| |
| const char *
In file included from /sysroot/usr/include/X11/Xlib.h:47:
/sysroot/usr/include/X11/Xlib.h:2085:5: note: expected 'const unsigned char ' but argument is of type 'const char '
2085 | _Xconst unsigned char / data */,
| ^
make: *** [Makefile:50: build/doomgeneric_xlib.o] Error 1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
for it to build without any error
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: