Re: GTK compile error: ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers
- From: "Kristin Branson" <kristinbranson gmail com>
- To: "Ian Puleston" <ian underpressuredivers com>
- Cc: gtk-list gnome org
- Subject: Re: GTK compile error: ../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be identifiers
- Date: Fri, 14 Nov 2008 21:08:34 -0800
Thanks! Here is the entire gdk-pixbuf-enum-types.h file:
/* Generated data (by glib-mkenums) */
#if defined(GDK_PIXBUF_DISABLE_SINGLE_INCLUDES) && !defined (GDK_PIXBUF_H_INSIDE) && !defined (GDK_PIXBUF_COMPILATION)
#error "Only <gdk-pixbuf/gdk-pixbuf.h> can be included directly."
#endif
#ifndef __GDK_PIXBUF_ENUM_TYPES_H__
#define __GDK_PIXBUF_ENUM_TYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* enumerations from "gdk-pixbuf-core.h" */
GType gdk_pixbuf_alpha_mode_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_PIXBUF_ALPHA_MODE (gdk_pixbuf_alpha_mode_get_type ())
GType gdk_colorspace_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_COLORSPACE (gdk_colorspace_get_type ())
GType gdk_pixbuf_error_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_PIXBUF_ERROR (gdk_pixbuf_error_get_type ())
/* enumerations from "gdk-pixbuf-transform.h" */
GType gdk_interp_type_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_INTERP_TYPE (gdk_interp_type_get_type ())
GType gdk_pixbuf_rotation_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX _TYPE_PIXBUF_ROTATION (gdk_pixbuf_rotation_get_type ())
G_END_DECLS
#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */
/* Generated data ends here */
I'm willing to edit it by hand if someone can tell me/link me to what it should look like.
Thanks,
Kristin
On Fri, Nov 14, 2008 at 4:47 PM, Ian Puleston
<ian underpressuredivers com> wrote:
I am trying to compile GTK,
and have encountered an error I can't figure out. Here is the tail of what make
spits out:
../gdk-pixbuf/gdk-pixbuf-enum-types.h:19:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:22:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:25:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:31:9: error: macro names must be
identifiers
../gdk-pixbuf/gdk-pixbuf-enum-types.h:34:9: error: macro names must be
identifiers
gdk-pixbuf-enum-types.h is generated by a Perl script, so
you might want to post what was generated at those lines that the compiler is
complaining about. It can screw it up in a Windows build from msys and requires
patching it manually afterwards, so maybe you've hit a similar problem here.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]