This is my original diff that adds a new Makefile and stricter warning checking to g++. All errors found under gcc 4.1.2 are fixed here, and the alternative Makefiles are removed since they only differed in two lines.