Fix Makefile to use g++ -Wall -pedantic.  Fix codebase to deal with the aftermath...
Remove last spurious trailing ;.  Thanks -pedantic!
typeof statement: use a TypeSpec instead of an Expression so we get non-evaluation for free