[Shapelib] Hellp Please with unix compilation

Yasir Malik ymalik at cs.stevens-tech.edu
Fri Jan 28 10:01:35 EST 2005

> c++ ISO forbifd cast to nonreference type used as lvalue in the following
> line (marked with number 1) I get several of this errors
Perhaps you can try compling with gcc, not g++

> 1)	((void *) newDBF->pszHeader) = (void *) malloc(32 * psDBF->nFields);

newDBF->pszHeader = (char *) malloc(32 * psDBF->nFields);


More information about the Shapelib mailing list