From: Nitro <ni...@dr...> - 2009-01-25 22:18:58
|
Am 24.01.2009, 12:18 Uhr, schrieb Johan Hake <ha...@si...>: > Hello! > > I have sort of found out of this. > > When I run the swig command without the optimization flag, -O, it works > again. > > I cannot reproduce my problem with a small example code, so I cannot > report a > bug on it. > > In my lab other people have reported the same error, with the same fix: > not include '-O' I had a problem a while back with -O, too. The -O flag is just a shortcut for a multitude of other flags, see swig -python --help to see which. In my case when I left out the -dirvtable flag my problem was solved. So you can try to narrow the flag down further to get closer to the cause (and maybe using a debugger in addition). -Matthias |