Bug#778106: rheolef: ftbfs with GCC-5
Matthias Klose
doko at debian.org
Sat Jul 25 12:34:47 UTC 2015
after fixing
--- a/skit/plib2/load_chunk.h
+++ b/skit/plib2/load_chunk.h
@@ -28,7 +28,7 @@ load_chunk (std::istream& s, RandomItera
{
while (iter != last)
if (!(s >> *iter++)) return false;
- return s;
+ return bool(s);
}
template <class RandomIterator, class GetFunction>
inline
@@ -37,7 +37,7 @@ load_chunk (std::istream& s, RandomItera
{
while (iter != last)
if (! get_element (s, *iter++)) return false;
- return s;
+ return bool(s);
}
} // namespace rheolef
#endif // _RHEOLEF_LOAD_CHUNK_H
I get:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -fno-strict-aliasing
-I../../include -I/usr/include/suitesparse -D_FORTIFY_SOURCE=2 -O3
-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -std=c++11 -Wall -Wno-unused -Werror
-Wno-strict-aliasing -O2 -MT index_set.lo -MD -MP -MF .deps/index_set.Tpo -c
index_set.cc -fPIC -DPIC -o .libs/index_set.o
In file included from /usr/include/boost/serialization/set.hpp:26:0,
from ../../include/rheolef/index_set.h:38,
from index_set.cc:21:
/usr/include/boost/serialization/detail/stack_constructor.hpp: In constructor
'boost::serialization::detail::stack_construct<Archive,
T>::stack_construct(Archive&, unsigned int)':
/usr/include/boost/serialization/detail/stack_constructor.hpp:54:9: error:
'load_construct_data_adl' is not a member of 'boost::serialization'
boost::serialization::load_construct_data_adl(
^
Makefile:727: recipe for target 'index_set.lo' failed
make[4]: *** [index_set.lo] Error 1
Makefile:621: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:451: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:561: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/scratch/packages/tmp/rheolef-6.5'
debian/rules:59: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
More information about the debian-science-maintainers
mailing list