Don't trigger warnings in standard headers when building wxQt
Pre-include QFont header in wxQt to avoid warnings for the other headers included from it.
This commit is contained in:
parent
9c2cf91223
commit
3bbefcdd74
1 changed files with 4 additions and 0 deletions
|
|
@ -84,6 +84,10 @@
|
|||
|
||||
#include "catch.hpp"
|
||||
|
||||
#if defined(__WXQT__)
|
||||
#include <QtGui/QFont>
|
||||
#endif
|
||||
|
||||
#ifdef GCC_TURN_OFF
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue