From 02d7aa30ab21f00926f58f3b62fb290530af3e8b Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 17 Jun 2015 07:02:37 -0700 Subject: [PATCH] don't check QtWidgets header for -Wdouble-promotion --- interface/src/ui/FlowLayout.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/interface/src/ui/FlowLayout.cpp b/interface/src/ui/FlowLayout.cpp index c24ad6ce01..ed68204d90 100644 --- a/interface/src/ui/FlowLayout.cpp +++ b/interface/src/ui/FlowLayout.cpp @@ -38,8 +38,17 @@ ** ****************************************************************************/ +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdouble-promotion" +#endif + #include +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif + #include "FlowLayout.h" //! [1] FlowLayout::FlowLayout(QWidget *parent, int margin, int hSpacing, int vSpacing)