Re: AIX 4.2 fails to build

On Thu, 16 Oct 2003 10:59:51 +0200
Riccardo Mottola <zuse@libero.it> wrote:

> 
> 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 *);

On current Unix systems there is an include /usr/include/wchar.h
If not present could you look for this file within /usr/lib/gcc-lib/

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Thursday, 23 October 2003 05:35:58 UTC