Even though I am using -Wno-unused-local-typedef on the command line I am still getting: some_file.hpp:113:9: warning: unused typedef 'some_unused_typedef' [-Wunused-local-typedef] This is with the latest version of clang from source. What must I do to get rid of this warning ?