summaryrefslogtreecommitdiffhomepage
path: root/options/tie.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-28 16:24:17 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-28 16:24:17 +0200
commitfbb55fcac3e6cb55f6b3144272c8bc4efe43f4a7 (patch)
treec0a2b4c94ae3601fb322e411a5d456b84e92eeb5 /options/tie.hpp
parent7a60015ba99125b493d1cb85afc072bcebb97681 (diff)
options/tie: kill warnings
Diffstat (limited to 'options/tie.hpp')
-rw-r--r--options/tie.hpp9
1 files changed, 9 insertions, 0 deletions
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 <cmath>
+#if defined __GNUG__
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wattributes"
+#endif
+
namespace options {
template<typename t>
@@ -90,3 +95,7 @@ OTR_OPTIONS_EXPORT void tie_setting(value<int>& v, QTabWidget* t);
OTR_OPTIONS_EXPORT void tie_setting(value<slider_value>& v, QSlider* w);
} // ns options
+
+#if defined __GNUG__
+# pragma GCC diagnostic pop
+#endif