--enable-werror is enabled by default when building gdb-7.6.1+ on OSX

So for the build to succeed you need to add '--disable-werror' to the ./configure options