Qt: Disable -Wframe-larger-than= for ui_main_window.h
The generated Ui_MainWindow::setupUi() can grow larger than our configured limit, so turn off -Wframe-larger-than= for ui_main_window.h. Change-Id: I550ff30ebe566b711c63f7a9d0276e5b06244407 Reviewed-on: https://code.wireshark.org/review/21866 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
6607be77f3
commit
dc7b9cdb41
|
@ -20,7 +20,14 @@
|
|||
*/
|
||||
|
||||
#include "main_window.h"
|
||||
|
||||
/*
|
||||
* The generated Ui_MainWindow::setupUi() can grow larger than our configured limit,
|
||||
* so turn off -Wframe-larger-than= for ui_main_window.h.
|
||||
*/
|
||||
DIAG_OFF(frame-larger-than=)
|
||||
#include <ui_main_window.h>
|
||||
DIAG_ON(frame-larger-than=)
|
||||
|
||||
#include <epan/addr_resolv.h>
|
||||
#include "epan/dissector_filters.h"
|
||||
|
|
|
@ -28,7 +28,14 @@
|
|||
#endif
|
||||
|
||||
#include "main_window.h"
|
||||
|
||||
/*
|
||||
* The generated Ui_MainWindow::setupUi() can grow larger than our configured limit,
|
||||
* so turn off -Wframe-larger-than= for ui_main_window.h.
|
||||
*/
|
||||
DIAG_OFF(frame-larger-than=)
|
||||
#include <ui_main_window.h>
|
||||
DIAG_ON(frame-larger-than=)
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
|
|
Loading…
Reference in New Issue