Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-908

warnings when building with clang

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: None
    • Component/s: build, libprocess
    • Environment:

      Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)

      Description

      When building with clang, a bunch of warnings popped up.

      Most of those are protobuf's rendered code related (implicit conversion long to int) and that appears to be a known issue:
      https://code.google.com/p/protobuf/issues/detail?id=83

      However two of those are stemming from libprocess:
      ../../../3rdparty/libprocess/src/encoder.hpp:125:3: warning: control may reach end of non-void function [-Wreturn-type]
      ../../../3rdparty/libprocess/src/process.cpp:1848:1: warning: control may reach end of non-void function [-Wreturn-type]

      Unsure if the second one is a false positive.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tillt Till Toenshoff
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: