GNOME Bugzilla – Bug 309562
shooter.c errors
Last modified: 2008-01-15 14:04:05 UTC
Distribution/Version: 6.5.27 irix 6.5.27, mipspro 7.43, gimp 2.3.2 ---------------------------------------- cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 62 The identifier "Bool" is undefined. Bool send_event; /* true if this came frome a SendEvent request */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 63 The identifier "Display" is undefined. Display *display; /* Display the event was read from */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 64 The identifier "Window" is undefined. Window window; /* window of event */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 68 The identifier "Time" is undefined. Time time; /* server timestamp when region changed */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 69 The identifier "Bool" is undefined. Bool shaped; /* true if the region exists */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 74 The identifier "Bool" is undefined. extern Bool XShapeQueryExtension ( ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 76 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 82 The identifier "Status" is undefined. extern Status XShapeQueryVersion ( ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 84 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 92 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 93 The identifier "Window" is undefined. Window /* dest */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 97 The identifier "Region" is undefined. Region /* region */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 104 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 105 The identifier "Window" is undefined. Window /* dest */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 109 The identifier "XRectangle" is undefined. XRectangle* /* rectangles */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 118 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 119 The identifier "Window" is undefined. Window /* dest */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 123 The identifier "Pixmap" is undefined. Pixmap /* src */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 130 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 131 The identifier "Window" is undefined. Window /* dest */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 135 The identifier "Window" is undefined. Window /* src */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 143 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 144 The identifier "Window" is undefined. Window /* dest */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 151 The identifier "Status" is undefined. extern Status XShapeQueryExtents ( ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 153 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 154 The identifier "Window" is undefined. Window /* window */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 155 The identifier "Bool" is undefined. Bool* /* bounding_shaped */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 160 The identifier "Bool" is undefined. Bool* /* clip_shaped */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 170 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 171 The identifier "Window" is undefined. Window /* window */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 178 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 179 The identifier "Window" is undefined. Window /* window */ ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 183 The identifier "XRectangle" is undefined. extern XRectangle *XShapeGetRectangles ( ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 185 The identifier "Display" is undefined. Display* /* display */, ^ cc-1020 cc: ERROR File = /usr/include/X11/extensions/shape.h, Line = 186 The identifier "Window" is undefined. Window /* window */, ^ cc-1164 cc: WARNING File = shooter.c, Line = 36 Argument of type "gint *" is incompatible with parameter of type "unsigned int *". &root, &parent, &children, &nchildren) == 0) ^ 35 errors detected in the compilation of "shooter.c".
Does moving the #include <gdk/gdkx.h> line above the #include <X11/extensions/shape.h> line fix things?
worked, great! and so easy ;-) much thanks!
2005-07-05 Manish Singh <yosh@gimp.org> * tools/shooter.c: Reorder #includes so things compile everywhere. Fixes bug #309562.
*** Bug 310297 has been marked as a duplicate of this bug. ***