hiro/qt: Silence missing override warning in Clang for moc code

With Qt 6 maybe it is possible to finally start cleaning that issue up
in the first place, but for now it's probably better for bsnes and ares
to align closer.

This is backported from the following ares commits:
0d131bf4d8
960d8a8dcb

Co-authored-by: Near <77224854+near-san@users.noreply.github.com>
Co-authored-by: invertego <invertego@users.noreply.github.com>
This commit is contained in:
John Chadwick 2025-09-01 19:47:52 -04:00 committed by Screwtapello
parent 924fa315dc
commit d3a3280f90
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
#if defined(COMPILER_CLANG)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
#endif
#include "qt.hpp" #include "qt.hpp"
#include "qt.moc" #include "qt.moc"
#if defined(COMPILER_CLANG)
#pragma clang diagnostic pop
#endif
#include "platform.hpp" #include "platform.hpp"
#include "utility.cpp" #include "utility.cpp"