From: Adrian S. J. <AS...@pa...> - 2002-01-28 09:56:08
|
> From: ReaperMan [mailto:re...@re...] >=20 > Well I am sure it compiles for everyone else otherwise it > would be checked in and I know someone said that this > doesn't compile on their system too: >=20 > terminal_type.clear(); >=20 > g++ -c -g -Wall -Wcast-qual -Wparentheses -Wwrite-strings=20 > -Wconversion=20 > interface.c > interface.c: In method `enum Command_status=20 > descriptor_data::terminal_set_termtype(const CString &, int)': > interface.c:4271: no matching function for call to `String::wclear=20 > (WINDOW *&)' > *** Error code 1 > make: Fatal error: Command failed for target `interface.o' The problem is curses. It defines a stupid macro called 'clear()' that expands to 'wclear(SOME_DEFAULT)'. The latest code doesn't use clear() anymore, or at least it shouldn't. And please don't commit code that doesn't compile. If you can't get it to work then ask someone as they might know why... Adrian. |