[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] [USRP-users] boost 1.67.0 compatibility issues wi
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] [USRP-users] boost 1.67.0 compatibility issues with GR and UHD |
Date: |
Mon, 16 Apr 2018 14:33:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 04/16/2018 10:09 AM, Michael Dickens via USRP-users wrote:
> Boost 1.67.0 was released over the weekend, and there are
> incompatibilities introduced by it for both GNU Radio and UHD -- both
> release and current GIT master of each. Volk latest release as well
> as current GIT master both seem to build and test cleanly using this
> new Boost version.
>
> The OS-independent issues seem to arise from changes to
> `boost::posix_time` and how the types it now uses for keeping track
> of various time durations -- I think integer now versus floating
> point prior. There is a public PR for UHD already open <
> https://github.com/EttusResearch/uhd/pull/170 > that I'm looking at
> to see if it addresses the new Boost issues robustly.
>
> For UHD on Mac OS X / any Darwin kernel there's also an unfortunate
> incompatibility added between the GPSD and Boost APIs: the new
> `boost::posix_time` now includes <mach/mach_time.h>, which
> (indirectly) defines "policy_t" at the top-level namespace (typedef
> to `int`) ... as does <gpsd.h> (typedef to a struct). I'm not yet
> sure what a good fix for this issue is beyond disabling GPSD.
Michael,
thanks a lot for looking into these. We're already working on fixes for
UHD and will have them out within a week.
Cheers all,
Martin