qemacs-devel
[Top][All Lists]
Advanced

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

Re: [Qemacs-devel] [PATCH] Fix cptoqe build


From: Charles Gordon
Subject: Re: [Qemacs-devel] [PATCH] Fix cptoqe build
Date: Tue, 7 Jan 2014 02:13:15 +0100

I committed a quick and dirty patch for cptoqe and jistoqe
Compiling with BUILD_ALL=1 failed on Mac/OS as well.

I noticed something strange on the way: the newly made files kmaps and 
ligatures differ from the ones in CVS.
The reason is rather ugly; the output from these utilities depends on the 
behavior of qsort for equal keys.  qsort is not stable and indeed produces 
different results for identical keys on different architectures.  It is not 
very important, but it would be better to have consistent output for the same 
inputs ;-)

Chqrlie.

On 6 janv. 2014, at 12:22, François Revol <address@hidden> wrote:

> gcc -O2 -Wall -g -O2 -funsigned-char -Wno-format-zero-length
> -I./libqhtml -o cptoqe cptoqe.c cutils.c
> cptoqe.c:42:14: error: conflicting types for ‘getline’
> static char *getline(char *buf, int buf_size, FILE *f, int strip_comments)
>              ^
> In file included from cptoqe.c:23:0:
> /usr/include/stdio.h:678:20: note: previous declaration of ‘getline’ was
> here
> extern _IO_ssize_t getline (char **__restrict __lineptr,
>                    ^
> François.
> 
> <qemacs-cptoqe.diff>_______________________________________________
> Qemacs-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/qemacs-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]