On Sunday 19 November 2006 15:24, Jure Repinc wrote:
> Hi,
>
> I tried to compile libtprl-0.1.0 and I got this error:
>
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
> -g -Wall -c console.cpp
>   g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -Wall -c console.cpp  -fPIC -DPIC
> -o .libs/console.o
> /usr/include/readline/rltypedefs.h:65: error: typedef 'rl_getc_func_t'
> is initialized (use __typeof__ instead)
<snip>
> make: *** [all-recursive-am] Error 2
>
> To fix the problem I had to move includes
> #include <iostream>
> #include <iomanip>
> before the includes for readline.

Thanks for the notice. I don't quite understand why it makes a difference, but 
I have moved those two includes up. The change has been pushed to the darcs 
repo and will be in the next release, which could well be quite soon.

Regards
Lee Begg

Attachment: pgpnVuoeI6jMD.pgp
Description: PGP signature

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to