Lee Begg pravi: > 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.
Well I also don't understand why this has to be so. When I got the error I searched with Google and I found a guy with similar problem and someone suggested him that he should put <stdio.h> before readline includes. I tried this with iostream and iomanip in libtprl and it also worked. Readline Manual also says this in 2nd paragraph of section 2.2 Custom Functions: Before declaring any functions that customize Readline's behavior, or using any functionality Readline provides in other code, an application writer should include the file <readline/readline.h> in any file that uses Readline's features. Since some of the definitions in readline.h use the stdio library, the file <stdio.h> should be included before readline.h. -- JLP's Blog - http://jlp.holodeck1.com/blog/ _______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
