From mint-bounce@lists.fishpool.fi Mon Jan 18 17:46:57 2010 To: From: Peter Slegg Subject: Re: [MiNT] wide characters Reply-To: Peter Slegg X-Mailer: MyMAIL Rev:1.91.13668 (Atari/(STiK/STinG/GlueSTiK)) X-Hardware: Atari Milan MIME-Version: 1.0 Date: Sat, 18 Jan 2010 22:45:11 +0200 (GMT) Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <00100ed8.01a776d63ff7@smtp.freeola.net> References: In-Reply-To: c6533ef61001181423y5311ab9eleb210fd2f84e0ead@mail.gmail.com X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: p.slegg@scubadivers.co.uk Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o0IMkvtI003537 On Mon, 18 Jan 2010 23:23:49 , Miro Kropacek wrote: > > I have added libutf8-devel to my system. This adds headers to > > /usr/include/utf8 > > > > I've added #include in the code but how do I add > > this to the include path ? > > > -I/usr/include/utf8 on commandline or #include 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 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