compile test on msvc
guruofquality opened this issue · 3 comments
@cjcliffe One issue came up for me when building on MSVC. It didn't have a template overload for using isnan on an integer. Many of the args parsing calls use stoi, which through throw invalid_argument if the input is bad. Here are the changes, it hasnt broken anything for me, just running it by you:
👍 No complaints here; I haven't really used std::stoi and std::isnan before -- I just happened upon those while looking up simpler C++ replacements to some C stuff I was using. Also makes sense to use the single char for checking IF number since it's fixed at length 6.
Haven't had a chance to get SoapySDR running on my windows box yet; I will likely do that this weekend as I want to get some CubicSDR Soapy supported test builds out.
- and after that, it now builds on MSVC 2012 and 2013