[GRASS-dev] compilation of grass on AIX 7.1

Glynn Clements glynn at gclements.plus.com
Sat Apr 6 01:41:27 PDT 2013


Markus Neteler wrote:

> >> cat /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/sys/types.h
> >
> > Can you visually compare this file to the preprocessor output from
> ...
> 
> (file sent offlist for inspection)
> 
> > However: adding -D_POSIX_SOURCE=1 may help (glibc's features.h defines
> > _POSIX_SOURCE if _POSIX_C_SOURCE is set; AIX's might not).

That appears to be the case. Without _POSIX_SOURCE, only the
aforementioned types (ptrdiff_t, wchar_t, wctype_t, time_t, clock_t,
and size64_t) are defined.

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


More information about the grass-dev mailing list