Disable "nested-anon-types" warning when compiling with clang

This extension is used a lot in Qt header files.