diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-13 19:35:38 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-13 19:35:38 -0800 |
commit | b52880892d1a85203e58cdb049877e7ae4c16663 (patch) | |
tree | 5ef463525c9633bfbe7eadb4b3da5b1188bb5142 /lib/usrp/dboard/base.cpp | |
parent | 24d95c3f2cea168d1d314af29839d88cc16d3c7f (diff) | |
download | uhd-b52880892d1a85203e58cdb049877e7ae4c16663.tar.gz uhd-b52880892d1a85203e58cdb049877e7ae4c16663.tar.bz2 uhd-b52880892d1a85203e58cdb049877e7ae4c16663.zip |
Added strict compiler flags.
Made changes to meet compilation.
Added test to verify ip and mac addr code.
Diffstat (limited to 'lib/usrp/dboard/base.cpp')
-rw-r--r-- | lib/usrp/dboard/base.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp index 3166cdedc..c3fc332c9 100644 --- a/lib/usrp/dboard/base.cpp +++ b/lib/usrp/dboard/base.cpp @@ -38,11 +38,11 @@ rx_base::~rx_base(void){ /* NOP */ } -void rx_base::tx_get(const wax::type &key, wax::type &val){ +void rx_base::tx_get(const wax::type &, wax::type &){ throw std::runtime_error("cannot call tx_get on a rx dboard"); } -void rx_base::tx_set(const wax::type &key, const wax::type &val){ +void rx_base::tx_set(const wax::type &, const wax::type &){ throw std::runtime_error("cannot call tx_set on a rx dboard"); } @@ -58,10 +58,10 @@ tx_base::~tx_base(void){ /* NOP */ } -void tx_base::rx_get(const wax::type &key, wax::type &val){ +void tx_base::rx_get(const wax::type &, wax::type &){ throw std::runtime_error("cannot call rx_get on a tx dboard"); } -void tx_base::rx_set(const wax::type &key, const wax::type &val){ +void tx_base::rx_set(const wax::type &, const wax::type &){ throw std::runtime_error("cannot call rx_set on a tx dboard"); } |