Random compiling note of the day (errr... year): Most c++ software (eg kde) has broken Makefiles, so
remeber the -isystem flag; but also remember it only works with certain -r flags and I can't
ever remember which ones -- so here is a guaranteed working line for picky code:
g++ -c -I/usr/local/qt/include -isystem\
-I/usr/openwin/include -O2 -fno-strength-reduce\
-O2 -fno-strength-reduce -fPIC\
-I/usr/local/kde/include *.cpp