Only apply -Wno-mismatched-tags to clang.