Include <windows.h> before enabling all the warnings
This avoids tons of -Wredundant-decls and -Wnon-virtual-dtor (given for all OLE interfaces).
This commit is contained in:
parent
6f9390306d
commit
03bc49de2d
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@
|
|||
|
||||
#include "catch.hpp"
|
||||
|
||||
#if defined(__WXQT__)
|
||||
#if defined(__WXMSW__)
|
||||
#include <windows.h>
|
||||
#elif defined(__WXQT__)
|
||||
#include <QtGui/QFont>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue