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

master does not compile because of -Werror on newest gcc-7.2.1 #104

Closed
Warchant opened this issue Jan 22, 2018 · 2 comments
Closed

master does not compile because of -Werror on newest gcc-7.2.1 #104

Warchant opened this issue Jan 22, 2018 · 2 comments

Comments

@Warchant
Copy link

Here is one of problems:

rttr/detail/method/method_wrapper.h:213:7: error: mangled name for ‘virtual rttr::detail::method_wrapper<bool (std::__cxx11::basic_string<char>::*)() const noexcept, (rttr::access_levels)0, rttr::detail::default_invoke, rttr::detail::default_args<>, rttr::detail::parameter_infos<>, 0>::~method_wrapper()’ will change in C++17 because the exception specification is part of a function type [-Werror=noexcept-type]

OS: Arch Linux
Compiler: gcc-7.2.1
-std=c++14

There are possible solutions:
https://stackoverflow.com/questions/46798456/handling-gccs-noexcept-type-warning
Personally I like just disabling this type of warnings: -Wno-noexcept-type

This problem happened on the computer of one of our coworkers, so I can not provide full list of errors, because I can not reproduce it personally.

@gabyx
Copy link
Contributor

gabyx commented Jan 22, 2018

see PR #100

@acki-m
Copy link
Contributor

acki-m commented Feb 12, 2018

Fixed and changes are in in current master branch

@acki-m acki-m closed this as completed Feb 12, 2018
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