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

warnings when building with clang

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.17.0
    • None
    • build, libprocess
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: