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

M

M. Faust

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top