-Wno-unused-local-typedefs is a gcc 4.8 flag.