Change in libusrp[master]: Avoid compiler warning 'dynamic exception specifications are deprecat...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Alexander Huemer gerrit-no-reply at lists.osmocom.org
Thu Feb 7 10:53:04 UTC 2019


Alexander Huemer has uploaded this change for review. ( https://gerrit.osmocom.org/12853


Change subject: Avoid compiler warning 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]'
......................................................................

Avoid compiler warning 'dynamic exception specifications are deprecated in C++11 [-Wdeprecated]'

Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
---
M host/include/usrp/usrp_local_sighandler.h
M host/lib/usrp_local_sighandler.cc
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/53/12853/1

diff --git a/host/include/usrp/usrp_local_sighandler.h b/host/include/usrp/usrp_local_sighandler.h
index ee33675..5553680 100644
--- a/host/include/usrp/usrp_local_sighandler.h
+++ b/host/include/usrp/usrp_local_sighandler.h
@@ -55,7 +55,7 @@
   ~usrp_local_sighandler ();
 
   /* throw usrp_signal (signum) */
-  static void throw_signal (int signum) throw (usrp_signal);
+  static void throw_signal (int signum);
 };
 
 #endif /* INCLUDED_USRP_LOCAL_SIGHANDLER_H */
diff --git a/host/lib/usrp_local_sighandler.cc b/host/lib/usrp_local_sighandler.cc
index 5901397..81bc3d1 100644
--- a/host/lib/usrp_local_sighandler.cc
+++ b/host/lib/usrp_local_sighandler.cc
@@ -64,7 +64,7 @@
 }
 
 void
-usrp_local_sighandler::throw_signal(int signum) throw(usrp_signal)
+usrp_local_sighandler::throw_signal(int signum)
 {
   throw usrp_signal (signum);
 }

-- 
To view, visit https://gerrit.osmocom.org/12853
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie472e6f92944cfe1af7d63cd644879573d080ca2
Gerrit-Change-Number: 12853
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Huemer <alexander.huemer at xx.vu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190207/1e52a285/attachment.htm>


More information about the gerrit-log mailing list