Bug 2327 - build error (C++-ism) in sam/idmap_rid.c
build error (C++-ism) in sam/idmap_rid.c
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.11
Other FreeBSD
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-08 10:19 UTC by Igor Robul
Modified: 2005-08-24 10:24 UTC (History)
0 users

See Also:


Attachments
fix compile of idmap_rid.c (435 bytes, patch)
2005-02-08 12:25 UTC, Gerald (Jerry) Carter
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 2005-02-08 12:25:50 UTC
Created attachment 957 [details]
fix compile of idmap_rid.c
Comment 2 Gerald (Jerry) Carter 2005-02-08 12:27:45 UTC
fix attached and checked into 3_0
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:24:50 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.