Rawhide arm compiler bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux