[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] macro issue with vstack warning and __FUNCTION__ error

From: Luis Alejandro Muzzachiodi
Subject: [Tinycc-devel] macro issue with vstack warning and __FUNCTION__ error
Date: Fri, 29 Apr 2011 20:46:58 -0700 (PDT)

When i try to compile library related to gtk, with the mob's version, i get:

aspectFrame.c:53: error: ',' expected (got "__FUNCTION__")
aspectFrame.c:53: warning: internal compiler error: vstack leak? (5)
make: *** [aspectFrame.o] Error 1

being aspecFrame.c line 53:

G_OBJECT_WARN_INVALID_PROPERTY_ID ( object,prop_id,pspec );

that come from gobject.h :

/* --- implementation macros --- */
#define G_OBJECT_WARN_INVALID_PSPEC(object, pname, property_id, pspec) \
  GObject *_object = (GObject*) (object); \
  GParamSpec *_pspec = (GParamSpec*) (pspec); \
  guint _property_id = (property_id); \
  g_warning ("%s: invalid %s id %u for \"%s\" of type `%s' in `%s'", \
             G_STRLOC, \
             (pname), \
             _property_id, \
             _pspec->name, \
             g_type_name (G_PARAM_SPEC_TYPE (_pspec)), \
             G_OBJECT_TYPE_NAME (_object)); \
#define G_OBJECT_WARN_INVALID_PROPERTY_ID(object, property_id, pspec) \
    G_OBJECT_WARN_INVALID_PSPEC ((object), "property", (property_id), (pspec))

This macro wasn't never used until now (before use it, tcc was able to compile without problems).
Thanks for your help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]