"Incorrect range loop construct" build failure(s)
clang 10.0.0
Package | Version | Supposed error message | Full log |
Bug report |
cataclysm-dda | 0.E-2 | src/advanced_inv.cpp:855:38: error: loop variable 'elem' of type 'const advanced_inv_listitem' creates a copy from type 'const advanced_inv_listitem' [-Werror,-Wrange-loop-construct]
| Log |
|
cbmc | 5.12-4 | ./language_file.h:87:54: error: loop variable 'method' has type 'const std::pair &' (aka 'const pair &') but is initialized with type 'std::pair' resulting in a copy [-Werror,-Wrange-loop-construct]
| Log |
|
intel-compute-runtime | 20.13.16352-1 | program_info_from_patchtokens.cpp:21:21: error: loop variable 'kernel' of type 'const NEO::PatchTokenBinary::KernelFromPatchtokens' creates a copy from type 'const NEO::PatchTokenBinary::KernelFromPatchtokens' [-Werror,-Wrange-loop-construct]
| Log |
|
wlcs | 1.1.0+dfsg-4 | xfail_supporting_test_listener.cpp:173:25: error: loop variable 'name' of type 'const std::__cxx11::basic_string' creates a copy from type 'const std::__cxx11::basic_string' [-Werror,-Wrange-loop-construct]
| Log |
|
4 errors