delorie.com/archives/browse.cgi | search |
And BTW if I use bugy pdcurses instead linking with [object files] -lreadline -lpdcurses it compiles fine. So it seems it is a problem of ncurses. Does ncurses use conio functions? Or does it redefine them its own way? I think it should be possible to use same function from different modules or libraries. E.g. I use printf from libc and other library can aslo use printf and all get linked together without any problem. But what would happen if any other library will define it's own printf (without including stdio.h)?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |