Skip to content

Comments

expert_nodes.hpp: include boost noncopyable.hpp#241

Closed
scpeters wants to merge 1 commit intoEttusResearch:masterfrom
scpeters:patch-1
Closed

expert_nodes.hpp: include boost noncopyable.hpp#241
scpeters wants to merge 1 commit intoEttusResearch:masterfrom
scpeters:patch-1

Conversation

@scpeters
Copy link

Fixes a build failure with boost 1.69 reported in #240.

Pull Request Details

Description

Add a missing header file to fix a build failure with boost 1.69.

Related Issue

This issue was reported in #240, and this pull request is an adaptation of a patch posted to that issue.

Which devices/areas does this affect?

N/A.

Testing Done

Tested on macOS mojave with homebrew Homebrew/homebrew-core#35030.

Checklist

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project. See CODING.md.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes, and all previous tests pass.

Fixes a build failure with boost 1.69 reported in EttusResearch#240.
#include <uhd/exception.hpp>
#include <uhd/utils/dirty_tracked.hpp>
#include <uhd/types/time_spec.hpp>
#include <boost/core/noncopyable.hpp>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that boost/core/noncopyable.hpp is not present in boost 1.55 and earlier. Other files in this repo include boost/noncopyable.hpp, which is also present in boost 1.69, though it was deprecated in boost 1.56. If old boost versions must be supported, this could be changed to use the deprecated header file location.

@mbr0wn
Copy link
Contributor

mbr0wn commented Jan 10, 2019

Thanks very much! We already have a fix for this in our internal CI pipeline, it was a bit more involved than your change since we need to check the Boost version like you stated. Keep your eyes open for the fix, it's coming soon!

@mbr0wn mbr0wn closed this Jan 10, 2019
@scpeters scpeters deleted the patch-1 branch January 10, 2019 17:44
@scpeters
Copy link
Author

thanks!

@scpeters scpeters restored the patch-1 branch January 10, 2019 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants