typedef type name; error with swig wrapper and VC++ 6

M. Faust marfadeut at gmx.de
Mon Oct 18 19:40:03 CEST 2004


In Visual C++ 6 (SP6) I get the error message

Debug--------------------
Compiling...
srs_wrap.cpp
srs_wrap.cpp(887) : error C2146: syntax error : missing ';' before 
identifier 'name'
srs_wrap.cpp(887) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

srs_py.dll - 2 error(s), 0 warning(s)

The error is connected to the line

typedef type name;

of a file which was generated by swig (1.3.22) (Windows XP SP2, python 
2.3.4).

Has anybody an idea? The base program is in C++ withou any classes.

Markus



More information about the Python-list mailing list