New build errors with GCC 13
hobbes1069 opened this issue · 1 comments
hobbes1069 commented
I don't know how to fix this one...
/builddir/build/BUILD/OpenCOLLADA-1.6.70-maya/DAEValidator/library/src/Dae.cpp: In member function 'virtual void opencollada::Dae::readFile(const std::string&)':
/builddir/build/BUILD/OpenCOLLADA-1.6.70-maya/DAEValidator/library/src/Dae.cpp:78:30: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
78 | const auto & instances = root().selectNodes(
| ^~~~~~~~~
https://kojipkgs.fedoraproject.org//work/tasks/8436/96388436/build.log
hobbes1069 commented
It may or may not be a false positive as this is a new diagnostic:
https://gcc.gnu.org/PR107532