Support SWIG 2.0
Mantis Issue 385, reported by echristophe, assigned to jmalik, created: 2011-07-14
OTB-Binary-Wrapping/Libraries/itkBase/wrap_ITKCommonBasePython.cpp:4659:48: error: ‘SWIGPY_SLICE_ARG’ was not declared in this scope
SWIG Version 2.0.4 Cableswig: 0.1.0+cvs20110226-1 (standard versions on debian testing)
1310680015 - christopUsing another version of swig (SWIG Version 1.3.40): OTB-Binary-Wrapping/Languages/Python/PyBase/wrap_pyBasePython.cpp:3033:13: error: ‘ptrdiff_t’ does not name a type
this is probably related to the use of gcc (Debian 4.6.1-1) 4.6.1
1310849549 - christopCompilation with swig 1.3.40 and gcc 4.6 fixed with: http://hg.orfeo-toolbox.org/OTB-Wrapping/rev/52fff48bc823
no solution for swig 2 so far.
1324398521 - julienmswitched to "feature" and changed title.
1340279329 - julienmhttp://hg.orfeo-toolbox.org/OTB-Wrapping/rev/02ee7671b924
1340279360 - julienmCompiling with SWIG 2 since February