Re: AIX 4.2 fails to build

Riccardo Mottola <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Message-ID <BBB42AA6.97B0%[email protected]>
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 [email protected] 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.