GNOME Bugzilla – Bug 72182
fatal errors as reported by xlc
Last modified: 2004-12-22 21:47:04 UTC
See the attached patch * syntax error: ", }" * xlc says: out of range is there a test to check the valid value for GDK_RELEASE_MASK? * gdkpixbuf-drawable.c xlc says can not modify rvalue * gtkwindow.h bit field must be of an integer type not enum
Created attachment 6809 [details] [review] fatal errors corrected
Fri Feb 22 18:36:45 2002 Owen Taylor <otaylor@redhat.com> Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182. * demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h: Squash trailing commas on enumerations. * gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead of 1 << 31 to work around AIX compiler problem. (C standard seems to imply that compiler is required to use an unsigned type for the enum value in this case.) * gdk/gdkpixbuf-drawable.c: Fix lvalue casts. * gtk/gtkwindow.h: Fix use of enum types for bitfields ... compilers may choose to use a signed type for bitfields.