You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/04/23 07:20:14 UTC

[jira] [Created] (MESOS-1230) Compiler warning in libprocess statistics

Jie Yu created MESOS-1230:
-----------------------------

             Summary: Compiler warning in libprocess statistics
                 Key: MESOS-1230
                 URL: https://issues.apache.org/jira/browse/MESOS-1230
             Project: Mesos
          Issue Type: Bug
          Components: libprocess, statistics
            Reporter: Jie Yu


gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)

{noformat}
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp: In static member function ‘static T process::Statistics<T>::percentile(const std::vector<T, std::allocator<_CharT> >&, double) [with T = double]’:
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp:46:   instantiated from ‘static Option<process::Statistics<T> > process::Statistics<T>::from(const process::TimeSeries<T>&) [with T = double]’
../../../../mesos/3rdparty/libprocess/src/tests/statistics_tests.cpp:16:   instantiated from here
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp:84: warning: converting to ‘size_t’ from ‘double’
mv -f .deps/tests-statistics_tests.Tpo .deps/tests-statistics_tests.Po
mv -f .deps/tests-timeseries_tests.Tpo .deps/tests-timeseries_tests.Po
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp: In static member function ‘static T process::Statistics<T>::percentile(const std::vector<T, std::allocator<_CharT> >&, double) [with T = double]’:
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp:46:   instantiated from ‘static Option<process::Statistics<T> > process::Statistics<T>::from(const process::TimeSeries<T>&) [with T = double]’
../../../../mesos/3rdparty/libprocess/include/process/metrics/metric.hpp:38:   instantiated from here
../../../../mesos/3rdparty/libprocess/include/process/statistics.hpp:84: warning: converting to ‘size_t’ from ‘double’
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)