[postgis-devel] [PostGIS] #1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
PostGIS
trac at osgeo.org
Mon Mar 12 17:12:17 PDT 2012
#1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: mingw64 |
---------------------+------------------------------------------------------
Comment(by robe):
here is the list of errors if it helps any:
{{{
make[1]: Entering directory
`/c/ming64/projects/postgis/postgis-2.0.0beta3SVN/li
blwgeom'
/bin/sh ..//libtool --mode=compile x86_64-w64-mingw32-gcc -g -O2
-DDLL_EXPORT -
DPIC -I/c/ming64/projects/geos/rel-3.3.3w64/include
-I/c/ming64/projects/proj/r
el-4.7.0w64/include -c -o snprintf.lo snprintf.c
x86_64-w64-mingw32-gcc -g -O2 -DDLL_EXPORT -DPIC
-I/c/ming64/projects/geos/rel-
3.3.3w64/include -I/c/ming64/projects/proj/rel-4.7.0w64/include -c
snprintf.c -
DDLL_EXPORT -DPIC -o .libs/snprintf.o
In file included from snprintf.c:293:0:
c:\ming64\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/include/varargs.h:4:2:
error: #error "GCC no longer implements <varargs.h>."
c:\ming64\mingw64\bin\../lib/gcc/x86_64-w64-mingw32/4.5.4/include/varargs.h:5:2:
error: #error "Revise your code to use <stdarg.h>."
snprintf.c:527:12: warning: '_errno' redeclared without dllimport
attribute: pre
vious dllimport ignored
snprintf.c: In function 'rpl_vsnprintf':
snprintf.c:860:10: warning: cast from pointer to integer of different size
snprintf.c: In function 'rpl_snprintf':
snprintf.c:1509:24: error: expected declaration specifiers before 'va_dcl'
snprintf.c:1520:21: error: macro "va_start" requires 2 arguments, but only
1 giv
en
snprintf.c:1527:1: error: expected '{' at end of input
make[1]: *** [snprintf.lo] Error 1
make[1]: Leaving directory
`/c/ming64/projects/postgis/postgis-2.0.0beta3SVN/lib
lwgeom'
make: *** [all] Error 1
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1668#comment:27>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list