[Xfce-bugs] [Bug 4941] New: Missing C++ wrappers in header file(s)
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Feb 14 23:12:55 CET 2009
http://bugzilla.xfce.org/show_bug.cgi?id=4941
Summary: Missing C++ wrappers in header file(s)
Product: Xfce
Version: 4.5.x (SVN trunk)
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: general
AssignedTo: xfce-bugs at xfce.org
ReportedBy: perldude at xfce.org
Created an attachment (id=2171)
--> (http://bugzilla.xfce.org/attachment.cgi?id=2171)
Patch to enable C++ linkage for some libxfcegui4 functions.
Some header files from libxfcegui4 do not provide
#ifdef __cplusplus
extern "C" {
#endif
and
#ifdef __cplusplus
}
#endif
lines around the declarations to enable C++ linkage.
Otherwise someone will get linker errors when using
using libxfcegui4 with a C++ compiler.
The G_BEGIN_DECLS and G_END_DECLS macros provide those
C++ wrappers.
A patch is attached.
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list