Commit Graph

6 Commits

Author SHA1 Message Date
Josh Durgin
bc8c432a69 Merge pull request #15386 from ivancich/wip-add-readme-that-dmclock-is-a-subtree
doc: add README to dmclock subdir to inform developers it's a git subtree

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-06 15:48:04 -07:00
J. Eric Ivancich
963a803d20 Merge commit '5c612d7e32a07a01b3b97f9cf58f2a3cef0e2e73'
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-06-06 15:01:03 -04:00
J. Eric Ivancich
e16344644e doc: add README to dmclock subdir to inform developers it's a git subtree
Since dmclock was integrated into ceph a short time ago, twice now
contributors have submitted PRs to modify files below src/dmclock when
they should have modified the external dmclock library itself. This
README file is designed to hopefully warn future contributors and
instruct them on how best to approach changes.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-05-31 10:31:50 -04:00
Jos Collin
e348713003 dmclock: ‘std::function’ has not been declared
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>
2017-05-03 10:18:54 +05:30
Jos Collin
902561e9c3 dmclock: error: ‘function’ in namespace ‘std’ does not name a template type
The following error appears during make:

In file included from ceph/src/dmclock/support/src/run_every.cc:10:0:
ceph/src/dmclock/support/src/run_every.h:30:10: error: ‘function’ in namespace ‘std’ does not name a template type
     std::function<void()>     body;
          ^~~~~~~~
ceph/src/dmclock/support/src/run_every.h:46:12: error: ‘std::function’ has not been declared
       std::function<void()> _body) :
            ^~~~~~~~
ceph/src/dmclock/support/src/run_every.h:46:20: error: expected ‘,’ or ‘...’ before ‘<’ token
       std::function<void()> _body) :
                    ^
ceph/src/dmclock/support/src/run_every.h: In constructor ‘crimson::RunEvery::RunEvery(D, int)’:
ceph/src/dmclock/support/src/run_every.h:48:7: error: class ‘crimson::RunEvery’ does not have any field named ‘body’
       body(_body)
       ^~~~
ceph/src/dmclock/support/src/run_every.h:48:12: error: ‘_body’ was not declared in this scope
       body(_body)
            ^~~~~
ceph/src/dmclock/support/src/run_every.cc: In member function ‘void crimson::RunEvery::run()’:
ceph/src/dmclock/support/src/run_every.cc:70:7: error: ‘body’ was not declared in this scope
       body();
       ^~~~
ceph/src/dmclock/support/src/run_every.cc:70:7: note: suggested alternative: ‘bool’
       body();
       ^~~~
       bool

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-05-02 15:35:14 +05:30
J. Eric Ivancich
06b037b68b Merge commit '0bca9fe991c7e1f623d2a387f54e63f18d3227eb' as 'src/dmclock' 2017-04-28 17:13:42 -04:00