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
i Tried building the file from source on Linux Mint 20.1 but it won't build this is the error it's printing out:
`x11.cpp:57:3: error: ‘XvImage’ does not name a type; did you mean ‘XImage’?
57 | XvImage* xvimage;
| ^~~~~~~
| XImage
x11.cpp: In function ‘bool8 SetupXvideo()’:
x11.cpp:454:8: error: ‘XvQueryExtension’ was not declared in this scope; did you mean ‘XQueryExtension’?
454 | ret = XvQueryExtension(GUI.display,
| ^~~~~~~~~~~~~~~~
| XQueryExtension
x11.cpp:463:2: error: ‘XvAdaptorInfo’ was not declared in this scope
463 | XvAdaptorInfo* ai;
| ^~~~~~~~~~~~~
x11.cpp:463:17: error: ‘ai’ was not declared in this scope
463 | XvAdaptorInfo* ai;
| ^~
x11.cpp:464:8: error: ‘XvQueryAdaptors’ was not declared in this scope
464 | ret = XvQueryAdaptors(GUI.display, GUI.window, &p_num_adaptors, &ai);
| ^~~~~~~~~~~~~~~
x11.cpp:495:3: error: ‘XvEncodingInfo’ was not declared in this scope; did you mean ‘XvEncodingID’?
495 | XvEncodingInfo ei;
| ^~~~~~~~~~~~~~
| XvEncodingID
x11.cpp:495:19: error: ‘ei’ was not declared in this scope; did you mean ‘i’?
495 | XvEncodingInfo ei;
| ^~
| i
x11.cpp:496:9: error: ‘XvQueryEncodings’ was not declared in this scope; did you mean ‘XvBadEncoding’?
496 | ret = XvQueryEncodings(GUI.display, ai[i].base_id, &encodings, &ei);
| ^~~~~~~~~~~~~~~~
| XvBadEncoding
x11.cpp:514:3: error: ‘XvFreeEncodingInfo’ was not declared in this scope
514 | XvFreeEncodingInfo(ei);
| ^~~~~~~~~~~~~~~~~~
x11.cpp:525:10: error: ‘XvGrabPort’ was not declared in this scope; did you mean ‘XvBadPort’?
525 | ret = XvGrabPort(GUI.display, p, CurrentTime);
| ^~~~~~~~~~
| XvBadPort
x11.cpp:536:2: error: ‘XvFreeAdaptorInfo’ was not declared in this scope
536 | XvFreeAdaptorInfo(ai);
| ^~~~~~~~~~~~~~~~~
x11.cpp:549:2: error: ‘XvAttribute’ was not declared in this scope; did you mean ‘attribute’?
549 | XvAttribute port_attr;
| ^~~~~~~~~~~
| attribute
x11.cpp:549:15: error: ‘port_attr’ was not declared in this scope
549 | XvAttribute port_attr;
| ^~~~~~~~~
x11.cpp:550:14: error: ‘XvQueryPortAttributes’ was not declared in this scope
550 | port_attr = XvQueryPortAttributes (GUI.display, GUI.xv_port, &num_attrs);
| ^~~~~~~~~~~~~~~~~~~~~
x11.cpp:561:5: error: ‘XvSetPortAttribute’ was not declared in this scope; did you mean ‘XSetLineAttributes’?
561 | XvSetPortAttribute (GUI.display, GUI.xv_port, colorkey, 1);
| ^~~~~~~~~~~~~~~~~~
| XSetLineAttributes
x11.cpp:573:2: error: ‘XvImageFormatValues’ was not declared in this scope; did you mean ‘XPixmapFormatValues’?
573 | XvImageFormatValues* fo;
| ^~~~~~~~~~~~~~~~~~~
| XPixmapFormatValues
x11.cpp:573:23: error: ‘fo’ was not declared in this scope
573 | XvImageFormatValues* fo;
| ^~
x11.cpp:574:7: error: ‘XvListImageFormats’ was not declared in this scope; did you mean ‘XListPixmapFormats’?
574 | fo = XvListImageFormats(GUI.display, GUI.xv_port, &formats);
| ^~~~~~~~~~~~~~~~~~
| XListPixmapFormats
x11.cpp: In function ‘void S9xDeinitDisplay()’:
x11.cpp:902:4: error: ‘XvUngrabPort’ was not declared in this scope; did you mean ‘XUngrabPointer’?
902 | XvUngrabPort(GUI.display,GUI.xv_port,CurrentTime);
| ^~~~~~~~~~~~
| XUngrabPointer
x11.cpp: In function ‘void SetupXvImage()’:
x11.cpp:1112:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1112 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp:1114:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1114 | GUI.image->xvimage = XvShmCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2, &GUI.sm_info);
| ^~~~~~~
| Image
x11.cpp:1114:24: error: ‘XvShmCreateImage’ was not declared in this scope; did you mean ‘XShmCreateImage’?
1114 | GUI.image->xvimage = XvShmCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2, &GUI.sm_info);
| ^~~~~~~~~~~~~~~~
| XShmCreateImage
x11.cpp:1116:18: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1116 | if (!GUI.image->xvimage)
| ^~~~~~~
| Image
x11.cpp:1121:37: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1121 | GUI.image->data_size = GUI.image->xvimage->data_size;
| ^~~~~~~
| Image
x11.cpp:1126:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1126 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1131:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1131 | GUI.image->xvimage->data = GUI.sm_info.shmaddr = (char *) shmat(GUI.sm_info.shmid, 0, 0);
| ^~~~~~~
| Image
x11.cpp:1132:20: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1132 | if (!GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1134:22: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1134 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1149:23: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1149 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1162:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1162 | GUI.image->xvimage = XvCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2);
| ^~~~~~~
| Image
x11.cpp:1162:24: error: ‘XvCreateImage’ was not declared in this scope; did you mean ‘XCreateImage’?
1162 | GUI.image->xvimage = XvCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2);
| ^~~~~~~~~~~~~
| XCreateImage
x11.cpp:1164:37: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1164 | GUI.image->data_size = GUI.image->xvimage->data_size;
| ^~~~~~~
| Image
x11.cpp:1167:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1167 | GUI.image->xvimage->data = (char ) malloc(GUI.image->data_size);
| ^~~~~~~
| Image
x11.cpp:1168:19: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1168 | if (!GUI.image->xvimage || !GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1168:42: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1168 | if (!GUI.image->xvimage || !GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1180:31: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1180 | GUI.image->data = GUI.image->xvimage->data;
| ^~~~~~~
| Image
x11.cpp: In function ‘void TakedownXvImage()’:
x11.cpp:1185:17: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1185 | if (GUI.image->xvimage)
| ^~~~~~~
| Image
x11.cpp:1191:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1191 | GUI.image->xvimage->data = NULL;
| ^~~~~~~
| Image
x11.cpp:1192:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1192 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1197:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1197 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp:1202:20: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1202 | free(GUI.image->xvimage->data);
| ^~~~~~~
| Image
x11.cpp:1204:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1204 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1205:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1205 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp: In function ‘void Repaint(bool8)’:
x11.cpp:1439:75: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1439 | XvShmPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~
| Image
x11.cpp:1439:4: error: ‘XvShmPutImage’ was not declared in this scope; did you mean ‘XShmPutImage’?
1439 | XvShmPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~~~~~~~
| XShmPutImage
x11.cpp:1445:71: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1445 | XvPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~
| Image
x11.cpp:1445:3: error: ‘XvPutImage’ was not declared in this scope; did you mean ‘XPutImage’?
1445 | XvPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~~~~
| XPutImage
x11.cpp: In function ‘void S9xProcessEvents(bool8)’:
x11.cpp:1530:100: warning: ‘KeySym XKeycodeToKeysym(Display, KeyCode, int)’ is deprecated [-Wdeprecated-declarations]
1530 | .display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0));
| ^
In file included from x11.cpp:19:
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
x11.cpp:1530:100: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations]
1530 | .display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0));
| ^
In file included from x11.cpp:19:
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
x11.cpp: At global scope:
x11.cpp:424:12: warning: ‘int get_inv_shift(uint32, int)’ defined but not used [-Wunused-function]
424 | static int get_inv_shift (uint32 mask, int bpp)
| ^~~~~~~~~~~~~
make: *** [Makefile:77: x11.o] Error 1
`
if there is something wrong on my end please let me know!
The text was updated successfully, but these errors were encountered:
i Tried building the file from source on Linux Mint 20.1 but it won't build this is the error it's printing out:
`x11.cpp:57:3: error: ‘XvImage’ does not name a type; did you mean ‘XImage’?
57 | XvImage* xvimage;
| ^~~~~~~
| XImage
x11.cpp: In function ‘bool8 SetupXvideo()’:
x11.cpp:454:8: error: ‘XvQueryExtension’ was not declared in this scope; did you mean ‘XQueryExtension’?
454 | ret = XvQueryExtension(GUI.display,
| ^~~~~~~~~~~~~~~~
| XQueryExtension
x11.cpp:463:2: error: ‘XvAdaptorInfo’ was not declared in this scope
463 | XvAdaptorInfo* ai;
| ^~~~~~~~~~~~~
x11.cpp:463:17: error: ‘ai’ was not declared in this scope
463 | XvAdaptorInfo* ai;
| ^~
x11.cpp:464:8: error: ‘XvQueryAdaptors’ was not declared in this scope
464 | ret = XvQueryAdaptors(GUI.display, GUI.window, &p_num_adaptors, &ai);
| ^~~~~~~~~~~~~~~
x11.cpp:495:3: error: ‘XvEncodingInfo’ was not declared in this scope; did you mean ‘XvEncodingID’?
495 | XvEncodingInfo ei;
| ^~~~~~~~~~~~~~
| XvEncodingID
x11.cpp:495:19: error: ‘ei’ was not declared in this scope; did you mean ‘i’?
495 | XvEncodingInfo ei;
| ^~
| i
x11.cpp:496:9: error: ‘XvQueryEncodings’ was not declared in this scope; did you mean ‘XvBadEncoding’?
496 | ret = XvQueryEncodings(GUI.display, ai[i].base_id, &encodings, &ei);
| ^~~~~~~~~~~~~~~~
| XvBadEncoding
x11.cpp:514:3: error: ‘XvFreeEncodingInfo’ was not declared in this scope
514 | XvFreeEncodingInfo(ei);
| ^~~~~~~~~~~~~~~~~~
x11.cpp:525:10: error: ‘XvGrabPort’ was not declared in this scope; did you mean ‘XvBadPort’?
525 | ret = XvGrabPort(GUI.display, p, CurrentTime);
| ^~~~~~~~~~
| XvBadPort
x11.cpp:536:2: error: ‘XvFreeAdaptorInfo’ was not declared in this scope
536 | XvFreeAdaptorInfo(ai);
| ^~~~~~~~~~~~~~~~~
x11.cpp:549:2: error: ‘XvAttribute’ was not declared in this scope; did you mean ‘attribute’?
549 | XvAttribute port_attr;
| ^~~~~~~~~~~
| attribute
x11.cpp:549:15: error: ‘port_attr’ was not declared in this scope
549 | XvAttribute port_attr;
| ^~~~~~~~~
x11.cpp:550:14: error: ‘XvQueryPortAttributes’ was not declared in this scope
550 | port_attr = XvQueryPortAttributes (GUI.display, GUI.xv_port, &num_attrs);
| ^~~~~~~~~~~~~~~~~~~~~
x11.cpp:561:5: error: ‘XvSetPortAttribute’ was not declared in this scope; did you mean ‘XSetLineAttributes’?
561 | XvSetPortAttribute (GUI.display, GUI.xv_port, colorkey, 1);
| ^~~~~~~~~~~~~~~~~~
| XSetLineAttributes
x11.cpp:573:2: error: ‘XvImageFormatValues’ was not declared in this scope; did you mean ‘XPixmapFormatValues’?
573 | XvImageFormatValues* fo;
| ^~~~~~~~~~~~~~~~~~~
| XPixmapFormatValues
x11.cpp:573:23: error: ‘fo’ was not declared in this scope
573 | XvImageFormatValues* fo;
| ^~
x11.cpp:574:7: error: ‘XvListImageFormats’ was not declared in this scope; did you mean ‘XListPixmapFormats’?
574 | fo = XvListImageFormats(GUI.display, GUI.xv_port, &formats);
| ^~~~~~~~~~~~~~~~~~
| XListPixmapFormats
x11.cpp: In function ‘void S9xDeinitDisplay()’:
x11.cpp:902:4: error: ‘XvUngrabPort’ was not declared in this scope; did you mean ‘XUngrabPointer’?
902 | XvUngrabPort(GUI.display,GUI.xv_port,CurrentTime);
| ^~~~~~~~~~~~
| XUngrabPointer
x11.cpp: In function ‘void SetupXvImage()’:
x11.cpp:1112:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1112 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp:1114:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1114 | GUI.image->xvimage = XvShmCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2, &GUI.sm_info);
| ^~~~~~~
| Image
x11.cpp:1114:24: error: ‘XvShmCreateImage’ was not declared in this scope; did you mean ‘XShmCreateImage’?
1114 | GUI.image->xvimage = XvShmCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2, &GUI.sm_info);
| ^~~~~~~~~~~~~~~~
| XShmCreateImage
x11.cpp:1116:18: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1116 | if (!GUI.image->xvimage)
| ^~~~~~~
| Image
x11.cpp:1121:37: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1121 | GUI.image->data_size = GUI.image->xvimage->data_size;
| ^~~~~~~
| Image
x11.cpp:1126:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1126 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1131:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1131 | GUI.image->xvimage->data = GUI.sm_info.shmaddr = (char *) shmat(GUI.sm_info.shmid, 0, 0);
| ^~~~~~~
| Image
x11.cpp:1132:20: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1132 | if (!GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1134:22: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1134 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1149:23: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1149 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1162:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1162 | GUI.image->xvimage = XvCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2);
| ^~~~~~~
| Image
x11.cpp:1162:24: error: ‘XvCreateImage’ was not declared in this scope; did you mean ‘XCreateImage’?
1162 | GUI.image->xvimage = XvCreateImage(GUI.display, GUI.xv_port, GUI.xv_format, NULL, SNES_WIDTH * 2, SNES_HEIGHT_EXTENDED * 2);
| ^~~~~~~~~~~~~
| XCreateImage
x11.cpp:1164:37: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1164 | GUI.image->data_size = GUI.image->xvimage->data_size;
| ^~~~~~~
| Image
x11.cpp:1167:14: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1167 | GUI.image->xvimage->data = (char ) malloc(GUI.image->data_size);
| ^~~~~~~
| Image
x11.cpp:1168:19: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1168 | if (!GUI.image->xvimage || !GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1168:42: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1168 | if (!GUI.image->xvimage || !GUI.image->xvimage->data)
| ^~~~~~~
| Image
x11.cpp:1180:31: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1180 | GUI.image->data = GUI.image->xvimage->data;
| ^~~~~~~
| Image
x11.cpp: In function ‘void TakedownXvImage()’:
x11.cpp:1185:17: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1185 | if (GUI.image->xvimage)
| ^~~~~~~
| Image
x11.cpp:1191:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1191 | GUI.image->xvimage->data = NULL;
| ^~~~~~~
| Image
x11.cpp:1192:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1192 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1197:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1197 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp:1202:20: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1202 | free(GUI.image->xvimage->data);
| ^~~~~~~
| Image
x11.cpp:1204:21: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1204 | XFree(GUI.image->xvimage);
| ^~~~~~~
| Image
x11.cpp:1205:15: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1205 | GUI.image->xvimage = NULL;
| ^~~~~~~
| Image
x11.cpp: In function ‘void Repaint(bool8)’:
x11.cpp:1439:75: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1439 | XvShmPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~
| Image
x11.cpp:1439:4: error: ‘XvShmPutImage’ was not declared in this scope; did you mean ‘XShmPutImage’?
1439 | XvShmPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~~~~~~~
| XShmPutImage
x11.cpp:1445:71: error: ‘struct Image’ has no member named ‘xvimage’; did you mean ‘Image’?
1445 | XvPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~
| Image
x11.cpp:1445:3: error: ‘XvPutImage’ was not declared in this scope; did you mean ‘XPutImage’?
1445 | XvPutImage(GUI.display, GUI.xv_port, GUI.window, GUI.gc, GUI.image->xvimage,
| ^~~~~~~~~~
| XPutImage
x11.cpp: In function ‘void S9xProcessEvents(bool8)’:
x11.cpp:1530:100: warning: ‘KeySym XKeycodeToKeysym(Display, KeyCode, int)’ is deprecated [-Wdeprecated-declarations]
1530 | .display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0));
| ^
In file included from x11.cpp:19:
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
x11.cpp:1530:100: warning: ‘KeySym XKeycodeToKeysym(Display*, KeyCode, int)’ is deprecated [-Wdeprecated-declarations]
1530 | .display, XKeycodeToKeysym(GUI.display, event.xkey.keycode, 0));
| ^
In file included from x11.cpp:19:
/usr/include/X11/Xlib.h:1687:15: note: declared here
1687 | extern KeySym XKeycodeToKeysym(
| ^~~~~~~~~~~~~~~~
x11.cpp: At global scope:
x11.cpp:424:12: warning: ‘int get_inv_shift(uint32, int)’ defined but not used [-Wunused-function]
424 | static int get_inv_shift (uint32 mask, int bpp)
| ^~~~~~~~~~~~~
make: *** [Makefile:77: x11.o] Error 1
`
if there is something wrong on my end please let me know!
The text was updated successfully, but these errors were encountered: