Re: GdkBorder: typedef redeclaration error



Den 2015-12-27 kl. 12:58, skrev Glus Xof:
Hi guys,

Compiler breaks trying to compile gtkmm-3.19.5 due to a typedef redeclaration of GtkBorder. Effectively, this type was already declared in gtk+-3.19.5 / gtkborder.h and after then, in gtkmm/border.h, we can read,

#ifndef DOXYGEN_SHOULD_SKIP_THIS
extern "C" { typedef struct _GtkBorder GtkBorder; }
#endif

Is there any way to solve this ?

What's about "doxygen" here ?

Glus
For about two days gtk+ defined
   typedef GdkBorder GtkBorder;
instead of
  typedef struct _GtkBorder GtkBorder;

Unfortunately gtk+ 3.19.5 was released during this short period. Then the commit that changed GtkBorder was reverted. The result is that gtkmm 3.19.5 is not compatible with gtk+ 3.19.5. See also bug https://bugzilla.gnome.org/show_bug.cgi?id=759603.

#ifndef DOXYGEN_SHOULD_SKIP_THIS means that Doxygen shall not show this typedef in the gtkmm reference documentation. There are lots of such #ifndefs in gtkmm's header files.

Kjell


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