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

common: include/ceph_features.h uses uint64_t, which is in sys/types.h #13339

Merged
merged 1 commit into from Feb 20, 2017

Conversation

Projects
None yet
3 participants
@wjwithagen
Contributor

wjwithagen commented Feb 9, 2017

When compiling with Clang on FreeBSD there are lots of errors about
missing uint64_t:
In file included from /home/jenkins/workspace/ceph-master/src/msg/msg_types.cc:2:
In file included from /home/jenkins/workspace/ceph-master/src/msg/msg_types.h:20:
/home/jenkins/workspace/ceph-master/src/include/ceph_features.h:71:1: error: unknown type name 'uint64_t'
DEFINE_CEPH_FEATURE( 0, 1, UID)
^
/home/jenkins/workspace/ceph-master/src/include/ceph_features.h:14:15: note: expanded from macro 'DEFINE_CEPH_FEATURE'
const static uint64_t CEPH_FEATURE_##name = (1ULL<<bit); \

Signed-off-by: Willem Jan Withagen wjw@digiware.nl

common: include/ceph_features.h uses uint64_t, which is in sys/types.h
When compiling with Clang on FreeBSD there are lots of errors about
missing uint64_t:
In file included from /home/jenkins/workspace/ceph-master/src/msg/msg_types.cc:2:
In file included from /home/jenkins/workspace/ceph-master/src/msg/msg_types.h:20:
/home/jenkins/workspace/ceph-master/src/include/ceph_features.h:71:1: error: unknown type name 'uint64_t'
DEFINE_CEPH_FEATURE( 0, 1, UID)
^
/home/jenkins/workspace/ceph-master/src/include/ceph_features.h:14:15: note: expanded from macro 'DEFINE_CEPH_FEATURE'
        const static uint64_t CEPH_FEATURE_##name = (1ULL<<bit);                \

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
@tchaikov

This comment has been minimized.

@tchaikov tchaikov merged commit a9b2074 into ceph:master Feb 20, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@wjwithagen wjwithagen deleted the wjwithagen:wip-wjw-include-ceph_features branch Feb 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment