! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Missing C++ wrappers in header file(s)
Status:
RESOLVED: FIXED
Product:
Libxfcegui4
Component:
General

Comments

Description perldude editbugs 2009-02-14 22:12:54 CET
Created attachment 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.
Comment 1 Nick Schermer editbugs 2009-02-16 10:31:57 CET
Committed in revision 29492.

Bug #4941

Reported by:
perldude
Reported on: 2009-02-14
Last modified on: 2009-07-15

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information