GNOME Bugzilla – Bug 597272
Adjust the typedefs to to keep the C++ bindings happy
Last modified: 2009-10-17 08:11:06 UTC
Created attachment 144704 [details] [review] Proposed fix The headers of the gmmproc generated C++ bindings contain forward references like: typedef struct _Type Type; typedef struct _TypeClass TypeClass; These conflict with C headers containining type definitions of the form: typedef struct { ... } Type; typedef struct { ... } TypeClass; Replacing these with the following fixes the problem: typedef struct _Type Type; typedef struct _TypeClass TypeClass; struct _Type { ... }; struct _TypeClass { ... };
Good patch. This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Created attachment 145651 [details] [review] Fix ChamplainZoomLevel also
Merged :) Tip: Next time, when attaching a patch to a closed bug, don't forget to reopen it!