Bug 4618 - can't compile C++ application using samba headers
Summary: can't compile C++ application using samba headers
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
URL:
Keywords:
Depends on:
Blocks:
 
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