On Sat, 2006-06-10 at 13:30 -0700, Christopher Stone wrote: > I noticed yesterday that the pygame build is > failing to compile on Fedora development repository. Here is the > error: > > src/display.c: In function 'get_wm_info': > src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info' > > I asked about this on the Fedora mailing list and someone responded > with the fix of adding > -DSDL_VIDEO_DRIVER_X11 to the CFLAGS. > > I'm not sure exactly why this is necessary, but I thought I would make > you aware of the problem. Let me know if you need any more > information.
It looks like this shouldn't be necessary. It should be getting defined in the SDL header SDL_config.h. Is there something happening in Fedora's build of SDL that these defines aren't set in the headers? The one in my file is at line 280. The SDL_config gets included to every SDL header file through the SDL_stdinc.h. It doesn't look like external programs should need to rely on this internal SDL define.
