[GRASS5] grass cvs snapshot from 26. Feb.

Bill Brown - staff brown at gis.uiuc.edu
Fri Mar 9 12:15:02 EST 2001


Hey Justin,

I'm using Tcl/Tk 8.3.2 here as well.  The offsetof is being defined 
in stddef.h, included via stdio.h, as:

#if defined(_COMPILER_VERSION) && (_COMPILER_VERSION >= 400)
#define offsetof(t, memb) ((size_t)__INTADDR__(&(((t *)0)->memb)))
#else
#define offsetof(s, m)  (size_t)(&(((s *)0)->m))
#endif

..and the first definition is being used.  I'm using gcc-2.95.2 - any
way to find out if it is defining _COMPILER_VERSION?

- Bill

>
>Hi Bill
>
>
>I don't think it is strictly an IRIX problem since NVIZ compiles and
>runs fine on our SGI here. Maybe it has something to do with the version
>of Tcl/Tk. I'm using version 8.3.2 here.
>
>-- 

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list