Mapserver compilation flags should be added to the SWIG command line

Daniel Morissette dmorissette at MAPGEARS.COM
Mon Aug 28 11:21:41 EDT 2006

Tamas Szekeres wrote:
> Folks,
> Currently most of the SWIG bindings does not add mapserver compilation
> flags to the
> SWIG command line and therefore the interface might not be generated 
> properly.
> For example missing -DUSE_POINT_Z_M will prevent from generating z and m 
> members
> for pointObj etc.
> I've added a bug for this issue:
> And fixed for C#

Does something need to be done for this for the other wrappers? There 
used to be a 'mapscriptvars' file with all the compile flags used by the 
Perl Makefile. Is this not used by the other bindings?

Daniel Morissette

More information about the mapserver-dev mailing list