Vinson Lee created MESOS-1369:
---------------------------------

             Summary: 
3rdparty/libprocess/3rdparty/glog-0.3.3/src/glog/logging.h:696:1: error: 
comparison between signed and unsigned integer expressions 
[-Werror=sign-compare]
                 Key: MESOS-1369
                 URL: https://issues.apache.org/jira/browse/MESOS-1369
             Project: Mesos
          Issue Type: Bug
          Components: build
         Environment: Ubuntu 12.04
            Reporter: Vinson Lee
            Priority: Blocker


{noformat}
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"mesos\" 
-DPACKAGE_TARNAME=\"mesos\" -DPACKAGE_VERSION=\"0.19.0\" 
-DPACKAGE_STRING=\"mesos\ 0.19.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"mesos\" -DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 
-DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 
-DHAVE_LIBSASL2=1 -I.   -Wall -Werror -DLIBDIR=\"/usr/local/lib\" 
-DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
-I../3rdparty/libprocess/include 
-I../3rdparty/libprocess/3rdparty/stout/include -I../include 
-I../3rdparty/libprocess/3rdparty/boost-1.53.0 
-I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
-I../3rdparty/libprocess/3rdparty/picojson-4f93734 
-I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/leveldb/include 
-I../3rdparty/zookeeper-3.4.5/src/c/include 
-I../3rdparty/zookeeper-3.4.5/src/c/generated  -pthread -g -g2 -O2 -std=c++0x 
-MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c -o 
sasl/libmesos_no_3rdparty_la-auxprop.lo `test -f 'sasl/auxprop.cpp' || echo 
'./'`sasl/auxprop.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"mesos\" -DPACKAGE_TARNAME=\"mesos\" 
-DPACKAGE_VERSION=\"0.19.0\" "-DPACKAGE_STRING=\"mesos 0.19.0\"" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesos\" 
-DVERSION=\"0.19.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DMESOS_HAS_JAVA=1 
-DHAVE_PYTHON=\"2.7\" -DMESOS_HAS_PYTHON=1 -DHAVE_LIBZ=1 -DHAVE_LIBCURL=1 
-DHAVE_LIBSASL2=1 -I. -Wall -Werror -DLIBDIR=\"/usr/local/lib\" 
-DPKGLIBEXECDIR=\"/usr/local/libexec/mesos\" 
-DPKGDATADIR=\"/usr/local/share/mesos\" -I../include 
-I../3rdparty/libprocess/include 
-I../3rdparty/libprocess/3rdparty/stout/include -I../include 
-I../3rdparty/libprocess/3rdparty/boost-1.53.0 
-I../3rdparty/libprocess/3rdparty/protobuf-2.5.0/src 
-I../3rdparty/libprocess/3rdparty/picojson-4f93734 
-I../3rdparty/libprocess/3rdparty/glog-0.3.3/src -I../3rdparty/leveldb/include 
-I../3rdparty/zookeeper-3.4.5/src/c/include 
-I../3rdparty/zookeeper-3.4.5/src/c/generated -pthread -g -g2 -O2 -std=c++0x 
-MT sasl/libmesos_no_3rdparty_la-auxprop.lo -MD -MP -MF 
sasl/.deps/libmesos_no_3rdparty_la-auxprop.Tpo -c sasl/auxprop.cpp  -fPIC -DPIC 
-o sasl/.libs/libmesos_no_3rdparty_la-auxprop.o
In file included from ./logging/logging.hpp:24:0,
                 from sasl/auxprop.cpp:1:
../3rdparty/libprocess/3rdparty/glog-0.3.3/src/glog/logging.h: In function 
'std::string* google::Check_LEImpl(const T1&, const T2&, const char*) [with T1 
= long unsigned int, T2 = int, std::string = std::basic_string<char>]':
../3rdparty/libprocess/3rdparty/stout/include/stout/flags/flags.hpp:457:5:   
instantiated from here
../3rdparty/libprocess/3rdparty/glog-0.3.3/src/glog/logging.h:696:1: error: 
comparison between signed and unsigned integer expressions 
[-Werror=sign-compare]
cc1plus: all warnings being treated as errors
{noformat}



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

Reply via email to