Numerous warnings and a few errors building from the head with clang.
On Ubuntu 13.10 (saucy), clang 3.2 configure fails with lots of errors. Upgrading to 3.4 fixes this.
Made some very minor changes to shut the compiler up. This included breaking up the ++ptr expression to avoid the ambiguous error.