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

src/CMakeLists.txt: disable -Werror on rocksdb #12560

Merged
merged 1 commit into from Jan 9, 2017

Commits on Dec 18, 2016

  1. src/CMakeLists.txt:

    The Rocksdb code under Clang complains about:
    /home/jenkins/workspace/ceph-master/src/rocksdb/util/thread_local.h:205:5:
      error: macro expansion producing 'defined' has undefined behavior
      [-Werror,-Wexpansion-to-defined]
        ^
    /home/jenkins/workspace/ceph-master/src/rocksdb/util/thread_local.h:22:4:
      note: expanded from macro 'ROCKSDB_SUPPORT_THREAD_LOCAL'
      !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(IOS_CROSS_COMPILE)
       ^`
    So under Clang disable -Werror
    
    Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
    wjwithagen committed Dec 18, 2016
    Copy the full SHA
    ccd7ebb View commit details
    Browse the repository at this point in the history