incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eric b <eric.bach...@free.fr>
Subject Re: Compilation error when build libxml2.
Date Wed, 14 Dec 2011 08:38:37 GMT
Hi Dennis,

Le 14 déc. 11 à 07:27, Dennis E. Hamilton a écrit :

> I found the problem.  It is a little more involved. Here is the  
> procedure that did not parse correctly:
>
> lines 291-296 of testapi.c:
>
>   291: static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) {
>   292:     if (no == 0) return('a');
>   293:     if (no == 1) return(' ');
>   294:     if (no == 2) return((xmlChar) 'ø');
>   295:     return(0);
>   296: }


Opening the file with Xcode, I see that :

291 static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) {
292    if (no == 0) return('a');
293    if (no == 1) return(' ');
294     if (no == 2) return((xmlChar) '¯');
295    return(0);
296 }

Means there is a "~" for me on Mac OS X, at the mentioned lines.

Create a patch + add it needs 1 minute, but what is the exact Unicode  
point to be used ?   :-)


Thanks,
Eric

-- 
qɔᴉɹə
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.org/news






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message