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 309562 - shooter.c errors
shooter.c errors
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Help
2.3.x
Other IRIX
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 310297 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-06 03:37 UTC by g.fischer@ah-online.com
Modified: 2008-01-15 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description g.fischer@ah-online.com 2005-07-06 03:37:36 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".
Comment 1 Manish Singh 2005-07-06 04:16:59 UTC
Does moving the

#include <gdk/gdkx.h>

line above the

#include <X11/extensions/shape.h>

line fix things?
Comment 2 g.fischer@ah-online.com 2005-07-06 04:25:21 UTC
worked, great!
and so easy ;-)

much thanks!
Comment 3 Manish Singh 2005-07-06 04:48:06 UTC
2005-07-05  Manish Singh  <yosh@gimp.org>

        * tools/shooter.c: Reorder #includes so things compile everywhere.
        Fixes bug #309562.
Comment 4 Sven Neumann 2005-07-14 11:27:45 UTC
*** Bug 310297 has been marked as a duplicate of this bug. ***