OSX gcc does not support local-typedef warning