Forgive me if I'm pointing out a known issue, but I haven't noticed anything on
the list about this yet...
I keep getting sent rawhide build errors for my project. They only appear to occur on the
avmv7hl platform. It builds fine on all other architectures.
The errors are like:
sha1.cpp: In member function 'sha1::~sha1()':
sha1.cpp:34:1: error: pointer used after 'operator delete(void*, unsigned int)'
[-Werror=use-after-free]
34 | }
| ^
The code for ~sha1() is:
sha1::~sha1() {
delete pvt;
}
Line 34 is that closing bracket.
The code definitely isn't using the pointer after it's been deleted. Could this
be a compiler bug?
Thanks,
David
david.muse(a)firstworks.com