Since about a month compilation of ccache will quickly abort with:
gcc -march=x86-64 -mtune=core2 -O3 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Werror -DHAVE_CONFIG_H -DSYSCONFDIR=/usr/etc -I. -I. -MD -MP -MF .deps/manifest.c.d -c -o manifest.o manifest.c
manifest.c:69:0: error: "static_assert" redefined [-Werror]
In file included from system.h:34:0,
/usr/include/assert.h:119:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make: *** [manifest.o] Error 1
Using Arch Linux x64, zlib 1.2.7 and (I guess that might be the cause:) glibc 2.16.0.
Fixed in 0010ba1ac6071a5585b8a59df896855b1d711974.
Fix included in v3.1.8.