Re: AIX 4.2 fails to build

Hello Irene,

good work, this work solved many of the warnings.

there remains one that is fatal though:

I../../thotlib/include -I../../thotlib/internals/var
-I../../thotlib/internals/h -I../../thotlib/internals/f -I../../libjpeg
-I/usr/include/Motif1.2    -c ../../thotlib/unicode/ustring.c -o
unicode/ustring.o
../../thotlib/unicode/ustring.c:114: conflicting types for `wcstok'
/usr/include/wchar.h:155: previous declaration of `wcstok'
gmake[1]: *** [unicode/ustring.o] Error 1


This is the declaration I have in the header:
extern wchar_t *wcstok(wchar_t *, const wchar_t *);

-Riccardo

on 10/16/03 9:44 AM, Irene Vatton at irene.vatton@inrialpes.fr wrote:

> Could you test that change in Amaya/thotlib/include/thot_sys.h
> + #ifndef M_PI
> #define M_PI            3.14159265358979323846  /* pi */
> #define M_PI_2          1.57079632679489661923  /* pi/2 */
> + #endif
> 
> Irene.

Received on Thursday, 16 October 2003 05:01:12 UTC