/usr/share/swig1.3/mzscheme/std_map.i contains spurious $1. where self-> should be
Bug #203876 reported by
Artem Baguinski
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swig2.0 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: swig1.3
(in ubuntu 7.10, package: swig1.3 1.3.31-1ubuntu3)
to experience the problem I'm gonna attach a minimal test case that wraps std::map<int,int> then greps for '$1.' in generated C++. (just unpack and run make in ./swig/ directory)
solution is to replace $1. with self-> in all instances of keys() function in std_map.i
Changed in swig2.0 (Ubuntu): | |
status: | Incomplete → Fix Released |
To post a comment you must log in.
the following patch shows what has to be changed, it is against isntalled std_map.i but is short enough to review and apply in source tree.