You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2014/01/15 04:57:19 UTC

[jira] [Created] (MESOS-908) warnings when building with clang

Till Toenshoff created MESOS-908:
------------------------------------

             Summary: warnings when building with clang 
                 Key: MESOS-908
                 URL: https://issues.apache.org/jira/browse/MESOS-908
             Project: Mesos
          Issue Type: Improvement
          Components: build, libprocess
    Affects Versions: 0.17.0
         Environment: Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
            Reporter: Till Toenshoff
            Priority: Trivial


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.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)