I added -Wshadow and then turned it off again because of massive variable shadowing in the blit macros. Feel free to go through that code and fix these if you want. Just uncomment CheckWarnShadow in configure.in if you want to try this.
To note, this file is currently formatted with CRLF line endings, rather than LF, to allow the file to be viewed with Notepad.