Re: CVS-1.233; compilation problem

Jan-Ake Larsson <[email protected]> Mon, 28 Feb 2005 14:33:40 +0100
Newsgroups gmane.emacs.latex.preview.devel
Message-ID <20050228133340.GB10574__32283.5649167702$1109598343$gmane$org@mai.liu.se>
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

emacs user wrote:
> checking for stdbool.h that conforms to C99... yes
> checking for _Bool... yes

> gcc -I/usr/include/freetype2 -g -O2 -Wall -I.  -c -o dvipng.o dvipng.c
> In file included from /usr/include/kpathsea/debug.h:27,
>                 from /usr/include/kpathsea/config.h:63,
>                 from /usr/include/kpathsea/kpathsea.h:1,
>                 from dvipng.h:70,
>                 from dvipng.c:42:
> /usr/include/kpathsea/types.h:32: parse error before numeric constant

Apparently your kpathsea/types.h does not like stdbool.h. Try the
included patch.

/J=C5


--=20
Dogs think men are gods. Cats are not so easily deluded=20

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="bool.diff"

Index: dvipng.h
===================================================================
RCS file: /cvsroot/preview-latex/preview/dvipng/dvipng.h,v
retrieving revision 1.69
diff -r1.69 dvipng.h
63,66d62
< #ifdef HAVE_STDBOOL_H
< #include <stdbool.h>
< #endif
< 
70a67,69
> # ifdef HAVE_STDBOOL_H
> #  include <stdbool.h>
> # else
73d71
< # ifndef __bool_true_false_are_defined

--a8Wt8u1KmwUX3Y2C--


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click