[Proj] Build fails on Windows

Mateusz Łoskot mateusz at loskot.net
Thu Dec 22 06:16:31 EST 2011


On 22 December 2011 01:49, J. Luis <jmfluis at gmail.com> wrote:
> PJ_healpix.c(149) : error C2057: expected constant expression
> PJ_healpix.c(149) : error C2466: cannot allocate an array of constant size 0
> PJ_healpix.c(149) : error C2087: 'vert' : missing subscript
> PJ_healpix.c(222) : warning C4048: different array subscripts : 'double
> (*)[1]' and 'double [18][18]'
> PJ_healpix.c(238) : warning C4048: different array subscripts : 'double
> (*)[1]' and 'double [12][12]'

This code uses variable-length arrays as specified in C99.
Visual C++ compiler does not support C99.
This code needs to be rewritten, I'm afraid.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the Proj mailing list