[postgis-users] compile error in CVS
strk at keybit.net
Tue Dec 2 01:43:52 PST 2003
You can actually completely remove that line.
Its garbage from previous versions.
- obj = (SHPObject *)malloc(sizeof(SHPObject));
> pgsql2shp.c is throwing an error in the last stages of compile on Redhat 7.3,
> with Postgres 7.3.3.
> The error is as follows:
> pgsql2shp.c: In function `create_multipolygon3D_WKB':
> pgsql2shp.c:1628: parse error before `nrings'
> pgsql2shp.c:1646: `nparts' undeclared (first use in this function)
> and occurs during compilation of the folowing line(s):
> SHPObject *obj;
> obj = (SHPObject *)malloc(sizeof(SHPObject));
> change it to:
> SHPObject *obj = (SHPObject *)malloc(sizeof(SHPObject));
> and it compiles OK (I think). Totally unsure as to why this latter code does
> not throw an error. Any insights?
> Robert W. Burgholzer
> rburghol at veetee dot edu
> History of Nutrition: "Buddha probably consumed a high-carb diet."
> postgis-users mailing list
> postgis-users at postgis.refractions.net
More information about the postgis-users