On May 8, 2013, at 7:08 AM, Leif Hedstrom <zw...@apache.org> wrote: > 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.
The fix was #define NOMACROS. The trick part was figuring out which curses.h we were using and what the right macro for that was. > 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 >