Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmclock: include missing <functional> header. #14923

Merged
merged 1 commit into from May 4, 2017

Conversation

joscollin
Copy link
Member

@joscollin joscollin commented May 3, 2017

The following error appears during make:

ceph/src/dmclock/test/test_test_client.cc:14:0:
ceph/src/dmclock/test/../sim/src/sim_recs.h:40:12: error: ‘std::function’ has not been declared
       std::function<void()> code) {

Signed-off-by: Jos Collin jcollin@redhat.com

The following error appears during make:

ceph/src/dmclock/test/test_test_client.cc:14:0:
ceph/src/dmclock/test/../sim/src/sim_recs.h:40:12: error: ‘std::function’ has not been declared
       std::function<void()> code) {

Signed-off-by: Jos Collin <jcollin@redhat.com>
@joscollin joscollin force-pushed the wip-dmclocktest-function-error branch from 8880000 to e348713 Compare May 3, 2017 04:49
@joscollin
Copy link
Member Author

Retest this please.

@tchaikov tchaikov changed the title dmclock: ‘std::function’ has not been declared dmclock: include missing <functional> header. May 4, 2017
@tchaikov tchaikov merged commit 3a659b8 into ceph:master May 4, 2017
@joscollin
Copy link
Member Author

@tchaikov This is done as per the Header Dependency Changes in gcc 7. Please see: https://gcc.gnu.org/gcc-7/porting_to.html

@joscollin joscollin deleted the wip-dmclocktest-function-error branch May 6, 2017 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants