[GRASS-user] Can't load Grass 7 on Windows 7

Glynn Clements glynn at gclements.plus.com
Wed Oct 3 05:30:07 PDT 2012


Markus Neteler wrote:

> > doubleio.c: In function `Rast3d_write_doubles':
> > doubleio.c:12: error: `u_int' undeclared (first use in this function)
> 
> Apparently MinGW does not define:
> 
> typedef unsigned long int ulong;
> typedef unsigned short int ushort;
> typedef unsigned int uint;
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=2922311&group_id=2435&atid=102435
> 
> In R, I see
> http://svn.r-project.org/R/trunk/src/extra/xdr/rpc/types.h
> #ifndef _GNU_H_WINDOWS32_SOCKETS
> typedef unsigned int u_int;
> typedef unsigned long u_long;
> typedef unsigned short u_short;
> #endif
> 
> The latter I have submitted in r53301.

There's no need for typedefs. Fixed in r53304.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list