Unexpected standard error in test_davinci_tupling_from_collections about functors
The same error was seen multiple times in different ci-test with x86_64_v2-centos7-clang12-opt
build, which should be un-related to these MRs and needs investigation, the error was also seen in lhcb-master
- !3058 (merged): https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master-mr/5342/DaVinci/x86_64_v2-centos7-clang12-opt/tests#DaVinciExamples.tupling.test_davinci_tupling_from_collections
- !2680 (merged): https://lhcb-nightlies.web.cern.ch/nightly/lhcb-master-mr/5336/DaVinci/x86_64_v2-centos7-clang12-opt/tests
with error messages:
In file included from <built-in>:1:
In file included from /workspace/build/Rec/Phys/FunctorCore/include/Functors/JIT_includes.h:24:
In file included from /workspace/build/Rec/Phys/FunctorCore/include/Functors/Adapters.h:12:
[NON-XML-CHAR-0x1B][1m/workspace/build/Rec/Phys/FunctorCore/include/Functors/Function.h:216:18: [NON-XML-CHAR-0x1B][0m[NON-XML-CHAR-0x1B][0;1;35mwarning: [NON-XML-CHAR-0x1B][0m[NON-XML-CHAR-0x1B][1mlocal variable 'val' will be copied despite being returned by name [-Wreturn-std-move][NON-XML-CHAR-0x1B][0m
return val;
[NON-XML-CHAR-0x1B][0;1;32m