This is case in point for why you should not use -Werror when building
packages. Instead of adding pragmas in various places, I would track
down where the -Werror gets added and patch that out instead.
(Exception: it does make sense to use -Werror=format-security,
On Mon, May 29, 2023 at 8:26 AM Sam Varshavchik
wrote:
> Richard Shaw writes:
>
> > error: possibly dangling reference to a temporary [-Werror=dangling-
> > reference]
> > 315 | const auto & parents =
> > dae.root().selectNodes("//*[@sid]/..");
>
> The quickest solution is just
Richard Shaw writes:
error: possibly dangling reference to a temporary [-Werror=dangling-
reference]
315 | const auto & parents =
dae.root().selectNodes("//*[@sid]/..");
This is a complaint about a potential problem that might, just might be
true. It can't be determined
OpenCOLLADA has been failing to build with gcc 13 due to[1]:
error: possibly dangling reference to a temporary
[-Werror=dangling-reference]
315 | const auto & parents =
dae.root().selectNodes("//*[@sid]/..");
The code in question[2] is:
// InstanceWithExtra and other with