[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] wide characters



On Mon, 18 Jan 2010 23:23:49 , Miro Kropacek <miro.kropacek@gmail.com> wrote:
> > I have added libutf8-devel to my system. This adds headers to
> > /usr/include/utf8
> >
> > I've added #include <wctype.h> in the code but how do I add
> > this to the include path ?
> >
> -I/usr/include/utf8 on commandline or #include <utf8/wtype.h) in your source
>

Thanks.

I must be doing something wrong. I added that to the Makefile:

INCLUDE = -I/usr/include/utf8 -I/usr/GEM/include


and in Form.c I have:

#include <wctype.h>


the result is:

gcc -g  -I/usr/include/utf8 -I/usr/GEM/include -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Werror -m68040 -funsigned-char -fomit-frame-pointer -O2 -fstrength-reduce -DUSE_OVL -DUSE_INET -c Form.c -o obj.040/Form.o
In file included from /usr/GEM/include/cflib.h:30,
                 from Form.c:21:
/usr/include/utf8/stdio.h:36: parse error before `*'
/usr/include/utf8/stdio.h:60: parse error before `*'
/usr/include/utf8/stdio.h:85: parse error before `*'
/usr/include/utf8/stdio.h:103: parse error before `*'
cc1: warnings being treated as errors
In file included from Form.c:33:

etc. etc.

Peter