From be6a71b29c2d6837f5efbabbada459d1b1abbae9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 30 Jun 2020 15:52:51 +0200 Subject: fix warnings --- tracker-s2bot/ftnoir_tracker_s2bot.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tracker-s2bot/ftnoir_tracker_s2bot.cpp') diff --git a/tracker-s2bot/ftnoir_tracker_s2bot.cpp b/tracker-s2bot/ftnoir_tracker_s2bot.cpp index c1cb7d9b..c9d684aa 100644 --- a/tracker-s2bot/ftnoir_tracker_s2bot.cpp +++ b/tracker-s2bot/ftnoir_tracker_s2bot.cpp @@ -27,6 +27,10 @@ static constexpr int add_cbx[] = -180, }; +#ifdef __GNUG__ +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + void tracker_s2bot::run() { int freq = s.freq; if (freq <= 0) -- cgit v1.2.3