From fbb55fcac3e6cb55f6b3144272c8bc4efe43f4a7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Jul 2017 16:24:17 +0200 Subject: options/tie: kill warnings --- options/tie.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'options') diff --git a/options/tie.hpp b/options/tie.hpp index dffc6306..e8c1006f 100644 --- a/options/tie.hpp +++ b/options/tie.hpp @@ -22,6 +22,11 @@ #include +#if defined __GNUG__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wattributes" +#endif + namespace options { template @@ -90,3 +95,7 @@ OTR_OPTIONS_EXPORT void tie_setting(value& v, QTabWidget* t); OTR_OPTIONS_EXPORT void tie_setting(value& v, QSlider* w); } // ns options + +#if defined __GNUG__ +# pragma GCC diagnostic pop +#endif -- cgit v1.2.3