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: https://ettus.com/
On Mon, Apr 27, 2020 at 1:08 PM Clark (US), Kenneth C < kenneth.c.cla...@boeing.com> wrote: > 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 const instead of constexpr, > but still get errors. > > > This same code base builds find in Linux (current Ubuntu distro). > > > Any ideas? > > Thanks, > > Ken > >
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com