Re: [Freeciv-Dev] (PR#39555) gui-xaw repodlgs.c compiler warning

2007-08-13 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=39555 > On 13/08/07, William Allen Simpson <[EMAIL PROTECTED]> wrote: > > That's why GTK2 uses macros for such things. As does Xaw. Already committed patch attached. > It's pretty silly to grab the index from the pointer, cram it into a > pointer,

Re: [Freeciv-Dev] (PR#39555) gui-xaw repodlgs.c compiler warning

2007-08-13 Thread William Allen Simpson
http://bugs.freeciv.org/Ticket/Display.html?id=39555 > I don't get these errors, and I'm running on a G5 (64-bit) Mac. Presumably, this is special to whatever compiler you're running, or an architecture with a different pointer size from your integers. Note that those (XtPointer) casts are prob

[Freeciv-Dev] (PR#39555) gui-xaw repodlgs.c compiler warning

2007-08-12 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=39555 > Can't compile gui-xaw with --enable-debug cc1: warnings being treated as errors ../../../src.patched/client/gui-xaw/repodlgs.c: In function ‘create_science_dialog’: ../../../src.patched/client/gui-xaw/repodlgs.c:350: warning: cast to po