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: [email protected]
        ReportedBy: [email protected]


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.
_______________________________________________
Xfce-bugs mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce-bugs

Reply via email to