Allow code to compile in gcc with -Wold-style-cast.
Allow test code to compile in gcc with -Wold-style-cast.
Removed unneeded VEC class from the tests.
Fixed code to compile in gcc with -Wsign-conversion.
Fixed code to compile in gcc with -Wshadow.
Avoided unused-but-set-variable warning in gcc.
Removed workaround for clang if version at 3.3 or greater.
Merge pull request #4 from davidstone/master

clang 3.3 compatibility and gcc warning fixes