After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 72182 - fatal errors as reported by xlc
fatal errors as reported by xlc
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
1.3.x
Other All
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2002-02-21 21:41 UTC by Miroslaw Dobrzanski-Neumann
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fatal errors corrected (4.88 KB, patch)
2002-02-21 21:42 UTC, Miroslaw Dobrzanski-Neumann
none Details | Review

Description Miroslaw Dobrzanski-Neumann 2002-02-21 21:41:35 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
Comment 1 Miroslaw Dobrzanski-Neumann 2002-02-21 21:42:39 UTC
Created attachment 6809 [details] [review]
fatal errors corrected
Comment 2 Owen Taylor 2002-02-23 00:09:00 UTC
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.