usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

[Patch] Forward compatibility with boost 1.46

MF
Moritz Fischer
Tue, Mar 15, 2011 6:39 PM

Hi List,

when trying to get the archlinux packages to build again for GNU Radio and UHD I noticed,
that with arch's boost 1.46 libs UHD did not compile due to some changes in boost filesystem [1].

I tried it with an older version of boost (boost 1.45) and and according to their website [2] older
releases, read: boost 1.44 and above should support the changes I made.

I attached a small patch to fix the deprecated function calls with calls the the new ones.

Cheers,
Moritz

[1] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/deprecated.html
[2] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm

Hi List, when trying to get the archlinux packages to build again for GNU Radio and UHD I noticed, that with arch's boost 1.46 libs UHD did not compile due to some changes in boost filesystem [1]. I tried it with an older version of boost (boost 1.45) and and according to their website [2] older releases, read: boost 1.44 and above should support the changes I made. I attached a small patch to fix the deprecated function calls with calls the the new ones. Cheers, Moritz [1] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/deprecated.html [2] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm
JB
Josh Blum
Wed, Mar 16, 2011 12:36 AM

On 03/15/2011 11:39 AM, Moritz Fischer wrote:

Hi List,

when trying to get the archlinux packages to build again for GNU Radio and UHD I noticed,
that with arch's boost 1.46 libs UHD did not compile due to some changes in boost filesystem [1].

I tried it with an older version of boost (boost 1.45) and and according to their website [2] older
releases, read: boost 1.44 and above should support the changes I made.

I attached a small patch to fix the deprecated function calls with calls the the new ones.

It looks like boost 1.36 (which is the oldest we claim to support) has
string().
http://www.boost.org/doc/libs/1_36_0/libs/filesystem/doc/reference.html#basic_path-observers

I will get the patch into master after I make sure nothing breaks :-)

Thanks for the patch!
-Josh

On 03/15/2011 11:39 AM, Moritz Fischer wrote: > Hi List, > > when trying to get the archlinux packages to build again for GNU Radio and UHD I noticed, > that with arch's boost 1.46 libs UHD did not compile due to some changes in boost filesystem [1]. > > I tried it with an older version of boost (boost 1.45) and and according to their website [2] older > releases, read: boost 1.44 and above should support the changes I made. > > I attached a small patch to fix the deprecated function calls with calls the the new ones. > It looks like boost 1.36 (which is the oldest we claim to support) has string(). http://www.boost.org/doc/libs/1_36_0/libs/filesystem/doc/reference.html#basic_path-observers I will get the patch into master after I make sure nothing breaks :-) Thanks for the patch! -Josh > Cheers, > Moritz > > > [1] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/deprecated.html > [2] http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com