Code: Alles auswählen
In file included from /home/alexander/nuke-ms/test/common/test_segmentationlayer.cpp:4:0:
/home/alexander/nuke-ms/include/msglayer.hpp: In member function 'ByteOutputIterator nuke_ms::SerializedData::fillSerialized(ByteOutputIterator) const [with ByteOutputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char> >]':
/home/alexander/nuke-ms/include/msglayer.hpp:477:42: instantiated from 'ByteOutputIterator nuke_ms::SegmentationLayer<InnerLayer>::fillSerialized(ByteOutputIterator) const [with ByteOutputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char> >, InnerLayer = nuke_ms::SerializedData]'
/home/alexander/nuke-ms/test/common/test_segmentationlayer.cpp:32:29: instantiated from here
/home/alexander/nuke-ms/include/msglayer.hpp:325:75: error: invalid use of void expression
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_algobase.h:67:0,
from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/char_traits.h:41,
from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/ios:41,
from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/ostream:40,
from /usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/iostream:40,
from /home/alexander/nuke-ms/test/common/test_segmentationlayer.cpp:1:
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h: In function 'void std::__advance(_RandomAccessIterator&, _Distance, std::random_access_iterator_tag) [with _RandomAccessIterator = const __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >, _Distance = long int]':
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:175:7: instantiated from 'void std::advance(_InputIterator&, _Distance) [with _InputIterator = const __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >, _Distance = long unsigned int]'
/home/alexander/nuke-ms/include/msglayer.hpp:325:75: instantiated from 'ByteOutputIterator nuke_ms::SerializedData::fillSerialized(ByteOutputIterator) const [with ByteOutputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char> >]'
/home/alexander/nuke-ms/include/msglayer.hpp:477:42: instantiated from 'ByteOutputIterator nuke_ms::SegmentationLayer<InnerLayer>::fillSerialized(ByteOutputIterator) const [with ByteOutputIterator = __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned char> >, InnerLayer = nuke_ms::SerializedData]'
/home/alexander/nuke-ms/test/common/test_segmentationlayer.cpp:32:29: instantiated from here
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/bits/stl_iterator_base_funcs.h:154:7: error: passing 'const __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >' as 'this' argument of '__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator+=(const difference_type&) [with _Iterator = const unsigned char*, _Container = std::vector<unsigned char>, __gnu_cxx::__normal_iterator<_Iterator, _Container> = __gnu_cxx::__normal_iterator<const unsigned char*, std::vector<unsigned char> >, __gnu_cxx::__normal_iterator<_Iterator, _Container>::difference_type = long int]' discards qualifiers [-fpermissive]
make[3]: *** [test/common/CMakeFiles/test_segmentationlayer.dir/test_segmentationlayer.cpp.o] Error 1
make[2]: *** [test/common/CMakeFiles/test_segmentationlayer.dir/all] Error 2
make[1]: *** [test/CMakeFiles/testsuite.dir/rule] Error 2
make: *** [testsuite] Error 2