Bug 2327 - build error (C++-ism) in sam/idmap_rid.c
Summary: build error (C++-ism) in sam/idmap_rid.c
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.11
Hardware: Other FreeBSD
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-02-08 10:19 UTC by Igor Robul
Modified: 2005-08-24 10:24 UTC (History)
0 users

See Also:

fix compile of idmap_rid.c (435 bytes, patch)
2005-02-08 12:25 UTC, Gerald (Jerry) Carter (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Robul 2005-02-08 10:19:22 UTC
I got error while compiling Samba 3.0.11: 
Compiling sam/idmap_rid.c with -fPIC -DPIC 
sam/idmap_rid.c: In function `rid_idmap_parse': 
sam/idmap_rid.c:53: syntax error before `sid_str' 
There is a C++-ism (declaration after assignment operator)
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-02-08 12:25:50 UTC
Created attachment 957 [details]
fix compile of idmap_rid.c
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-02-08 12:27:45 UTC
fix attached and checked into 3_0
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:24:50 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.