$ git log -n1
commit e67affe8cf11e219949e071c15daac2e2a7e0c94 (HEAD -> liamstask, liamstask/master)
Merge: 593b356 cdf7e1f
Author: Liam Staskawicz <liam@stask.net>
Date: Tue Aug 4 12:23:52 2015 -0700
Merge pull request #3 from liamstask/update-v0.5.2
compiler: updates to upstream v0.5.2
$ make -j1 -k
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c capn-malloc.c -o capn-malloc.o
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c capn-stream.c -o capn-stream.o
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c capn.c -o capn.o
capn.c: In function ‘lookup_segment’:
capn.c:221:19: error: ‘y’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
s->hdr.parent = &y->hdr;
^
capn.c:222:6: error: ‘x’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
*x = &s->hdr;
^
cc1: all warnings being treated as errors
Makefile:24: recipe for target 'capn.o' failed
make: *** [capn.o] Error 1
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c compiler/capnpc-c.c -o compiler/capnpc-c.o
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c compiler/schema.capnp.c -o compiler/schema.capnp.o
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c compiler/str.c -o compiler/str.o
g++ -g -Wall -Werror -I. -Igtest-1.7.0/include -std=c++11 -o capn-test.o -c capn-test.cpp
In file included from capn-test.cpp:1:0:
gtest-1.7.0/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = unsigned int]’:
gtest-1.7.0/include/gtest/gtest.h:1484:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = unsigned int; bool lhs_is_null_literal = false]’
capn-test.cpp:47:3: required from here
gtest-1.7.0/include/gtest/gtest.h:1448:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (expected == actual) {
^
gtest-1.7.0/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int]’:
gtest-1.7.0/include/gtest/gtest.h:1524:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<true>::Compare(const char*, const char*, const T1&, const T2&, typename testing::internal::EnableIf<(! testing::internal::is_pointer<T2>::value)>::type*) [with T1 = int; T2 = long unsigned int; typename testing::internal::EnableIf<(! testing::internal::is_pointer<T2>::value)>::type = void]’
capn-test.cpp:181:3: required from here
gtest-1.7.0/include/gtest/gtest.h:1448:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
gtest-1.7.0/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int]’:
gtest-1.7.0/include/gtest/gtest.h:1484:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = unsigned int; T2 = int; bool lhs_is_null_literal = false]’
capn-test.cpp:408:5: required from here
gtest-1.7.0/include/gtest/gtest.h:1448:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
cc1plus: all warnings being treated as errors
Makefile:36: recipe for target 'capn-test.o' failed
make: *** [capn-test.o] Error 1
g++ -g -Wall -Werror -I. -Igtest-1.7.0/include -std=c++11 -o capn-stream-test.o -c capn-stream-test.cpp
In file included from capn-stream-test.cpp:2:0:
gtest-1.7.0/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = unsigned int]’:
gtest-1.7.0/include/gtest/gtest.h:1484:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = unsigned int; bool lhs_is_null_literal = false]’
capn-stream-test.cpp:21:3: required from here
gtest-1.7.0/include/gtest/gtest.h:1448:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (expected == actual) {
^
cc1plus: all warnings being treated as errors
Makefile:36: recipe for target 'capn-stream-test.o' failed
make: *** [capn-stream-test.o] Error 1
cc -O2 -Wall -Werror -fPIC -I. -Wno-unused-function -c compiler/test.capnp.c -o compiler/test.capnp.o
g++ -g -Wall -Werror -I. -Igtest-1.7.0/include -std=c++11 -o compiler/schema-test.o -c compiler/schema-test.cpp
g++ -g -Wall -Werror -I. -Igtest-1.7.0/include -std=c++11 -Igtest-1.7.0 -o gtest-all.o -c gtest-1.7.0/src/gtest_main.cc
make: Target 'all' not remade because of errors.