You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2015/02/09 03:46:34 UTC

[jira] [Created] (MESOS-2328) http::URL build error with clang 3.3

Yan Xu created MESOS-2328:
-----------------------------

             Summary: http::URL build error with clang 3.3
                 Key: MESOS-2328
                 URL: https://issues.apache.org/jira/browse/MESOS-2328
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 0.22.0
         Environment: clang 3.3, fedora 19
            Reporter: Yan Xu


{noformat:title=}
Making check in .
make[4]: Entering directory `<http://<redacted>/job/mesos-fedora-19-clang/ws/3rdparty/libprocess'>
/bin/sh ./libtool  --tag=CXX   --mode=compile clang++ -DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" -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_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBCURL=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBDL=1 -I.  -I./include -I./3rdparty/stout/include -I3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-4f93734  -I3rdparty/glog-0.3.3/src -I3rdparty/ry-http-parser-1c3624a  -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0   -g1 -O0 -std=c++11 -MT libprocess_la-clock.lo -MD -MP -MF .deps/libprocess_la-clock.Tpo -c -o libprocess_la-clock.lo `test -f 'src/clock.cpp' || echo './'`src/clock.cpp
libtool: compile:  clang++ -DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\" "-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\" -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_APR_POOLS_H=1 -DHAVE_LIBAPR_1=1 -DHAVE_SVN_VERSION_H=1 -DHAVE_LIBSVN_SUBR_1=1 -DHAVE_SVN_DELTA_H=1 -DHAVE_LIBSVN_DELTA_1=1 -DHAVE_LIBCURL=1 -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_LIBDL=1 -I. -I./include -I./3rdparty/stout/include -I3rdparty/boost-1.53.0 -I3rdparty/libev-4.15 -I3rdparty/picojson-4f93734 -I3rdparty/glog-0.3.3/src -I3rdparty/ry-http-parser-1c3624a -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0 -g1 -O0 -std=c++11 -MT libprocess_la-clock.lo -MD -MP -MF .deps/libprocess_la-clock.Tpo -c src/clock.cpp  -fPIC -DPIC -o libprocess_la-clock.o
In file included from src/clock.cpp:8:
In file included from ./include/process/process.hpp:12:
In file included from ./include/process/event.hpp:5:
./include/process/http.hpp:513:41: error: expected ')'
        hashmap<std::string, std::string>(),
                                        ^
./include/process/http.hpp:508:6: note: to match this '('
  URL(const std::string& _scheme,
     ^
./include/process/http.hpp:527:41: error: expected ')'
        hashmap<std::string, std::string>(),
                                        ^
./include/process/http.hpp:522:6: note: to match this '('
  URL(const std::string& _scheme,
     ^
./include/process/http.hpp:513:28: error: expected '>'
        hashmap<std::string, std::string>(),
                           ^
./include/process/http.hpp:513:41: error: missing default argument on parameter
        hashmap<std::string, std::string>(),
                                        ^
./include/process/http.hpp:527:28: error: expected '>'
        hashmap<std::string, std::string>(),
                           ^
./include/process/http.hpp:527:41: error: missing default argument on parameter
        hashmap<std::string, std::string>(),
                                        ^
./include/process/http.hpp:520:16: error: use of undeclared identifier '_fragment'; did you mean 'fragment'?
      fragment(_fragment) {}
               ^~~~~~~~~
               fragment
./include/process/http.hpp:543:23: note: 'fragment' declared here
  Option<std::string> fragment;
                      ^
./include/process/http.hpp:520:16: warning: field 'fragment' is uninitialized when used here [-Wuninitialized]
      fragment(_fragment) {}
               ^
./include/process/http.hpp:534:16: error: use of undeclared identifier '_fragment'; did you mean 'fragment'?
      fragment(_fragment) {}
               ^~~~~~~~~
               fragment
./include/process/http.hpp:543:23: note: 'fragment' declared here
  Option<std::string> fragment;
                      ^
./include/process/http.hpp:534:16: warning: field 'fragment' is uninitialized when used here [-Wuninitialized]
      fragment(_fragment) {}
               ^
2 warnings and 8 errors generated.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)