[
https://issues.apache.org/jira/browse/MESOS-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kone reassigned MESOS-1025:
---------------------------------
Assignee: Vinod Kone (was: Charlie Carson)
> json_tests fails build
> ----------------------
>
> Key: MESOS-1025
> URL: https://issues.apache.org/jira/browse/MESOS-1025
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.19.0
> Reporter: Vinod Kone
> Assignee: Vinod Kone
> Fix For: 0.19.0
>
>
> g++ -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_PTHREAD=1 -DHAVE_LIBZ=1 -I. -I./stout/include
> -Iboost-1.53.0 -Iglog-0.3.3/src -Igmock-1.6.0/gtest/include
> -Igmock-1.6.0/include -Iprotobuf-2.5.0/src -g -g2 -O2 -MT
> stout_tests-json_tests.o -MD -MP -MF .deps/stout_tests-json_tests.Tpo -c -o
> stout_tests-json_tests.o `test -f 'stout/tests/json_tests.cpp' || echo
> './'`stout/tests/json_tests.cpp
> stout/tests/json_tests.cpp: In member function ‘virtual void
> JsonTest_NumericAssignment_Test::TestBody()’:
> stout/tests/json_tests.cpp:127:3: error: ‘uint64_t’ was not declared in this
> scope
> uint64_t ui64 = 5;
> ^
> stout/tests/json_tests.cpp:127:3: note: suggested alternative:
> In file included from boost-1.53.0/boost/math_fwd.hpp:12:0,
> from boost-1.53.0/boost/math/common_factor_ct.hpp:13,
> from boost-1.53.0/boost/variant/variant.hpp:44,
> from boost-1.53.0/boost/variant.hpp:17,
> from ./stout/include/stout/json.hpp:26,
> from stout/tests/json_tests.cpp:9:
> boost-1.53.0/boost/cstdint.hpp:311:42: note: ‘boost::uint64_t’
> typedef ::boost::ulong_long_type uint64_t;
> ^
> stout/tests/json_tests.cpp:127:12: error: expected ‘;’ before ‘ui64’
> uint64_t ui64 = 5;
> ^
> stout/tests/json_tests.cpp:128:7: error: ‘ui64’ was not declared in this scope
> v = ui64;
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)