+ some build-fixes for ncurses-examples with NetBSD-6.0 curses, though
it lacks some common functions such as use_env() which is not yet
addressed.
+ build-fix and some compiler warning fixes for ncurses-examples with
OpenBSD 5.3
+ fix a possible null-pointer reference in a trace message from newterm.
+ quiet a few warnings from NetBSD 6.0 namespace pollution by
nonstandard popcount() function in standard strings.h header.
+ ignore g++ 4.2.1 warnings for "-Weffc++" in c++/cursesmain.cc
+ fix a few overlooked places for --enable-string-hacks option.