silpol / pyspatialite

Automatically exported from code.google.com/p/pyspatialite
zlib License
0 stars 0 forks source link

Package doesn't build correctly on Win7_x64 with MinGW compiler #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. satisfiing Dependencies.
2. run: python setup.py build -c mingw32 install (PATH points to gcc-Compiler 
from C:\MinGW64)

What is the expected output? What do you see instead?

The expected output would be a compiled build...

Instead it stops with no reasonable Errormessage:

lex.Gml.c:851:1: warning: label 'find_rule' defined but not used 
[-Wunused-label]
gmlLexer.l: At top level:
amalgamation\spatialite.c:190017:19: warning: 'vanuatu_yyunput' defined but not 
used [-Wunused-function]
 #define yyunput   vanuatu_yyunput
                   ^
lex.VanuatuWkt.c:1415:17: note: in expansion of macro 'yyunput'
amalgamation\spatialite.c:189973:17: warning: 'vanuatu_input' defined but not 
used [-Wunused-function]
 #define input   vanuatu_input
                 ^
lex.VanuatuWkt.c:1456:16: note: in expansion of macro 'input'
lex.VanuatuWkt.c:3886:19: warning: 'ewkt_yyunput' defined but not used 
[-Wunused-function]
lex.Ewkt.c:1295:17: note: in expansion of macro 'yyunput'
lex.VanuatuWkt.c:3842:17: warning: 'ewkt_input' defined but not used 
[-Wunused-function]
lex.Ewkt.c:1336:16: note: in expansion of macro 'input'
lex.Ewkt.c:3249:19: warning: 'geoJSON_yyunput' defined but not used 
[-Wunused-function]
lex.GeoJson.c:1346:17: note: in expansion of macro 'yyunput'
lex.Ewkt.c:3205:17: warning: 'geoJSON_input' defined but not used 
[-Wunused-function]
lex.GeoJson.c:1387:16: note: in expansion of macro 'input'
lex.GeoJson.c:3899:19: warning: 'kml_yyunput' defined but not used 
[-Wunused-function]
lex.Kml.c:1183:17: note: in expansion of macro 'yyunput'
lex.GeoJson.c:3855:17: warning: 'kml_input' defined but not used 
[-Wunused-function]
lex.Kml.c:1224:16: note: in expansion of macro 'input'
lex.Kml.c:4839:19: warning: 'gml_yyunput' defined but not used 
[-Wunused-function]
lex.Gml.c:1235:17: note: in expansion of macro 'yyunput'
lex.Gml.c:1890:12: warning: 'yy_flex_strlen' defined but not used 
[-Wunused-function]
lex.Kml.c:4795:17: warning: 'gml_input' defined but not used [-Wunused-function]
lex.Gml.c:1280:16: note: in expansion of macro 'input'
error: command 'gcc' failed with exit status 1

What version of the product are you using? On what operating system?

pyspatialite-3.0.1

Windows 7 x64
python2.7

Please provide any additional information below.
On Ubuntu I was able to build it with not tooo much struggling.
For windows this seems impossible...

Original issue reported on code.google.com by tobiassc...@gmail.com on 19 Nov 2013 at 2:18