Bug 4618 - can't compile C++ application using samba headers
can't compile C++ application using samba headers
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Other
unspecified
x86 Linux
: P3 normal
: ---
Assigned To: Andrew Bartlett
Andrew Bartlett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-15 07:10 UTC by Brad Hards
Modified: 2007-05-16 09:59 UTC (History)
0 users

See Also:


Attachments
patch fixing (part of?) the issue (40.39 KB, patch)
2007-05-15 07:12 UTC, Brad Hards
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Hards 2007-05-15 07:10:44 UTC
I'm having trouble with the samba4 headers, in that they have structure members called "private". Even with extern C{} linkage, that is still a C++ keyword.
Comment 1 Brad Hards 2007-05-15 07:12:51 UTC
Created attachment 2693 [details]
patch fixing (part of?) the issue

Patch that converts from void*private; to void*private_data;
Comment 2 Stefan Metzmacher 2007-05-16 09:59:51 UTC
fixed in rev 22944