Re: [USRP-users] Build Error in MSVC 2017 in time_spec.hpp

2020-04-28 Thread Michael Dickens via USRP-users
HI Clark - I'll try to work with you off-list. - MLD --- Michael Dickens Ettus Research Technical Support Email: supp...@ettus.com Web: https://ettus.com/ On Mon, Apr 27, 2020 at 1:41 PM Clark (US), Kenneth C < kenneth.c.cla...@boeing.com> wrote: > If I remove “constexpr” completely, thus

Re: [USRP-users] Build Error in MSVC 2017 in time_spec.hpp

2020-04-27 Thread Clark (US), Kenneth C via USRP-users
If I remove “constexpr” completely, thus “static double ASAP = 0.0 ;”, I get a different error, E1592, “a member with an in-class initialize must be const”. I also did a ‘update’ to my MSVC 2017 installation, to make sure it is current, but that did not change anything. Trying “static const

Re: [USRP-users] Build Error in MSVC 2017 in time_spec.hpp

2020-04-27 Thread Michael Dickens via USRP-users
Hi Ken - Try removing the "constexpr" entirely. We love "const" and "constexpr", but some compilers don't love them in various forms / combinations :) Hopefully that will get you past that issue. - MLD --- Michael Dickens Ettus Research Technical Support Email: supp...@ettus.com Web:

[USRP-users] Build Error in MSVC 2017 in time_spec.hpp

2020-04-27 Thread Clark (US), Kenneth C via USRP-users
Hello, Trying to build the "host" applications on Windows 10, MSVC 2017 (aka 141). The line below in time_spec.hpp static constexpr double ASAP = 0.0; Generates error E0145 in MSVC 2017, "member "uhd::time_spec_t::ASAP" may not be initialized" I have tried not initializing it, making it