Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 12:48:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203154] Fix databases/rocksdb build with clang 3.7.0
Message-ID:  <bug-203154-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203154

            Bug ID: 203154
           Summary: Fix databases/rocksdb build with clang 3.7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 161118
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=161118&action=edit
Fix rocksdb warnings with clang 3.7.0

During the exp-run in bug 201377, it was found that databases/rocksdb gives
errors with clang 3.7.0:

http://package18.nyi.freebsd.org/data/headamd64PR201377-default/2015-09-16_07h08m17s/logs/errors/rocksdb-3.13.1.log

This is because of several new warnings produced by the code, and the rocksdb
Makefiles defaulting to -Werror.  Specifically:
- Pessimizing std::move() invocations in a number of places.
- A few printf() format mismatches.
- One constant integer overflow.

I have fixed all the warnings in the attached patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203154-13>