Hello *,
I looked at this bug because I want to make sure that a fixed SWIG is
available before freeze.
However, for me this does not look like a direct bug in swig. The
offending code is in the file modules/modpython/cstring.i which begins
like this:
/*
SWIG-generated sources are used here.
*/
//
// String
//
%{
#include<string>
%}
%feature("naturalvar") CString;
class CString;
/*@SWIG:/usr/share/swig1.3/typemaps/std_strings.swg,74,%typemaps_std_string@*/
/*@SWIG:/usr/share/swig1.3/typemaps/std_strings.swg,4,%std_string_asptr@*/
%fragment("SWIG_" "AsPtr" "_"
{CString},"header",fragment="SWIG_AsCharPtrAndSize") {
...
The actually seems to cause the error when trying to translate the
following code in modpython.i:
%template(StrPair) pair<CString, CString>;
%template(VPair) vector<pair<CString, CString> >;
I'll try to find a minimal example which causes this.
Greetings, Torsten
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org