Re: GdkBorder: typedef redeclaration error
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Glus Xof <gtglus gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: GdkBorder: typedef redeclaration error
- Date: Sun, 27 Dec 2015 15:55:23 +0100
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]