Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destructors are noexcept by default in gcc 6 #1161

Closed
otakuto opened this issue Apr 18, 2017 · 5 comments
Closed

Destructors are noexcept by default in gcc 6 #1161

otakuto opened this issue Apr 18, 2017 · 5 comments

Comments

@otakuto
Copy link
Contributor

otakuto commented Apr 18, 2017

This project use throw in destructor with implicit noexcept(false). However, implicit noexcept of destructor changed noexcept(true) to noexcept(false) at gcc 6.
It's reported from Gentoo's Bugzilla.
https://bugs.gentoo.org/show_bug.cgi?id=612938
https://gcc.gnu.org/gcc-6/porting_to.html

@ideasman42
Copy link
Collaborator

Please give info on the actions needed to cause this error.

@aliceinwire
Copy link

aliceinwire commented Apr 26, 2017

@ideasman42 I think for reproduce the error you just need to compile opentoonz with gcc6

@ideasman42
Copy link
Collaborator

ideasman42 commented Apr 27, 2017

I'm building with GCC 6.3.1, is this only a problem with older GCC versions?

It would be helpful to post a link to the full error output.

@aliceinwire
Copy link

aliceinwire commented Apr 27, 2017

@ideasman42 you can find the error output here https://bugs.gentoo.org/show_bug.cgi?id=612938

sys-devel/gcc: 6.3.0::gentoo

@ideasman42
Copy link
Collaborator

The cxxflags must be defining -Werror=terminate, opentoonz is a very big codebase with warnings that would be nice to resolve, but don't consider this a bug. Submit a PR to resolve warnings is generally welcome of course.

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants