From: Robin Allen <roblovski@gm...> - 2008-12-13 16:11:46
I've been using SWIG for a while now (1.3.36) and I'm surprised I've
only just come across this. The following module:
#define X "test"
#define X "test2"
swig -python test.i
...causes SWIG to say:
test.i(4): Warning(302): Identifier 'X' redefined (ignored),
test.i(2): Warning(302): previous definition of 'X'.
Does SWIG ignore the #undef directive, or am I being dumb?
Get latest updates about Open Source Projects, Conferences and News.