-
Notifications
You must be signed in to change notification settings - Fork 140
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Can't compile with gcc 10 #469
Comments
Hmm, it seems like a GCC bug to me, it tries to eagerly instantiate After commenting the warning it seems to work 🤔 Needs some more digging, though 🐛 |
Any update on this? It's really sad not to be able to use GCC 10 because of this 😕 As a workaround, I defined |
Still getting this error with Msys2 MinGW 9.3.0 (x86_64-w64-mingw32/9.3.0). |
Meanwhile I think the problem is bigger then GCC 10 (and apparently mingw 9) support. Undefining So, I think there is a problem with |
…oost-ext#469 Problem: - GCC has a bug in which improperly instantiate function with `template<class...> class T` which triggers deprecated attribute warning. Solution: - Add another template parameter for `create` which instantiate `template<class...> class T` seem to wknd/fix the issue.
…oost-ext#469 Problem: - GCC has a bug in which improperly instantiate function with `template<class...> class T` which triggers deprecated attribute warning. Solution: - Add another template parameter for `create` which instantiate `template<class...> class T` seem to wknd/fix the issue.
…469 Problem: - GCC has a bug in which improperly instantiate function with `template<class...> class T` which triggers deprecated attribute warning. Solution: - Add another template parameter for `create` which instantiate `template<class...> class T` seem to wknd/fix the issue.
Should be fixed now -> https://godbolt.org/z/E7xzxE by krzysztof-jusiak@732b7d2 |
For the archive records, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95302 |
Expected Behavior
Expected to compile.
Actual Behavior
Can't compile the quick guide example (or any other application using boost::di) with the gcc 10 compiler
Error Message:
Steps to Reproduce the Problem
Here is a Compiler Explorer link showing the problem: https://godbolt.org/z/xvHTfd
By switching the compiler to gcc 9.3 the code compiles just fine.
Specifications
The text was updated successfully, but these errors were encountered: