I propose adding -Wno-unused-local-typedefs to our gcc options. This cleans up the build significantly, because there's a flood of warnings of this type coming from boost. If we suppress those, it might become possible to notice warnings that we care about.
This option is supported by gcc >= 4.8, so I think it's safe because we already require that because of our use of C++11.
As an example, I built meas_extensions_shapeHSM with and without this flag. Currently, the build outputs 369 lines. With this flag, the build outputs 57 lines.