GNOME Bugzilla – Bug 663880
Missing G_BEGIN_DECLS/G_END_DECLS in glib/glib-unix.h
Last modified: 2011-11-12 15:33:13 UTC
Created attachment 201250 [details] [review] patch for glib-unix.h G_BEGIN_DECLS/G_END_DECLS are missing in glib/glib-unix.h. When compiling the header in a C++ project, that may cause unwanted name mangling of functions like g_unix_signal_add, and lead to a linking error.
The following fix has been pushed: 5d9f05e glib-unix.h: Add G_BEGIN/END_DECLS
Created attachment 201291 [details] [review] glib-unix.h: Add G_BEGIN/END_DECLS The omission was pointed out in bug 663880.