Source: xir
Version: 1.3.2-1
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/xir.html
https://buildd.debian.org/status/logs.php?pkg=xir&ver=1.3.2-1

...
/<<PKGBUILDDIR>>/src/xir/graph/elf2xir.cpp: In instantiation of ‘std::ostream& 
{anonymous}::operator<<(std::ostream&, const std::vector<T>&) [with T = 
std::__cxx11::basic_string<char>; std::ostream = std::basic_ostream<char>]’:
/<<PKGBUILDDIR>>/src/xir/graph/elf2xir.cpp:1010:33:   required from here
/<<PKGBUILDDIR>>/src/xir/graph/elf2xir.cpp:403:19: error: loop variable ‘x’ 
creates a copy from type ‘const std::__cxx11::basic_string<char>’ 
[-Werror=range-loop-construct]
  403 |   for (const auto x : v) {
      |                   ^
/<<PKGBUILDDIR>>/src/xir/graph/elf2xir.cpp:403:19: note: use reference type to 
prevent copying
  403 |   for (const auto x : v) {
      |                   ^
      |                   &
...

Reply via email to