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
Gah, Ryan, how did we handle optional X11 symbol resolution again?
On 2012-01-17 17:43:36 +0000, Ryan C. Gordon wrote:
(In reply to comment # 1)
Gah, Ryan, how did we handle optional X11 symbol resolution again?
Doh, let me look into this.
--ryan.
On 2012-01-18 00:04:38 +0000, Ryan C. Gordon wrote:
Created attachment 780
Better fix.
Attachment # 779 forgot the "return" keyword on the macro, and would fail if used on an older Xlib that lacks this symbol because it's listed as part of base X11.
This patch should load the symbol, and deal with old systems without the symbol when building SDL with the newer headers.
It was really irresponsible of the Xlib developers to break binary compatibility like this.
--ryan.
On 2012-01-18 05:25:50 +0000, Petr Pisar wrote:
Let me ask:
(1) Does the return keyword mean SDL returns immediately instead of calling the function from libX11? If do, then why _XFlushGCCache is missing the keyword:
I did not find the `_XFlushGCCache' anywhere else in the SDL code, thus I think it's not used by SDL.
(2) Also you check for SDL_X11_HAVE_XGETREQUEST, but
#define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname;
SDL_X11_SYM(void ,_XGetRequest,(Display a,CARD8 b,size_t c),(a,b,c),return)
should create SDL_X11_HAVE__XGetRequest symbol (double underscore). Should you check for SDL_X11_HAVE__XGETREQUEST?
On 2012-01-18 07:59:40 +0000, Ryan C. Gordon wrote:
(In reply to comment # 4)
(1) Does the return keyword mean SDL returns immediately instead of calling the
function from libX11? If do, then why _XFlushGCCache is missing the keyword:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Fix (SDL-1.2.14-Define__XGetRequest.patch, text/plain, 2012-01-17 05:58:18 +0000, 754 bytes)Reported in version: HG 1.2
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2012-01-17 05:58:18 +0000, Petr Pisar wrote:
On 2012-01-17 06:06:50 +0000, Sam Lantinga wrote:
On 2012-01-17 17:43:36 +0000, Ryan C. Gordon wrote:
On 2012-01-18 00:04:38 +0000, Ryan C. Gordon wrote:
On 2012-01-18 05:25:50 +0000, Petr Pisar wrote:
On 2012-01-18 07:59:40 +0000, Ryan C. Gordon wrote:
On 2012-01-18 08:47:18 +0000, Sam Lantinga wrote:
On 2012-01-19 02:56:20 +0000, Petr Pisar wrote:
On 2012-01-19 07:57:31 +0000, Sam Lantinga wrote:
On 2012-12-02 06:07:21 +0000, student wrote:
On 2012-12-03 03:53:49 +0000, Petr Pisar wrote:
The text was updated successfully, but these errors were encountered: