On 5/7/13 4:18 AM, Daniel Gruno wrote:

Nah it's too ugly for that ... and of course I spelled "ifdef" wrong :(

J

Isn't the real problem that curses.h defines clear as wclear??
std::string has no such thing as wclear as far as I can tell, but it
does have a clear() function, which curses.h steals:

curses.h:#define clear()                   wclear(stdscr)



I could have sworn I tried the #undef clear path, but it broke ncurses later. Maybe you can restore the clear after calling the std::string clear? Or, maybe I was just smoking crack.

I have another fix for Solaris / FreeBSD, to get jtest to compile properly, will commit it as soon as I get to civilized networks.

-- Leif

Reply via email to