You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
type-limits check prevents compiling 4.2 version by GCC 11 #1322
changed the title [-]`type-limits` check prevent compiling on GCC 11[/-][+]`type-limits` check prevent compiling 4.2 version on GCC 11[/+]on Nov 30, 2023
changed the title [-]`type-limits` check prevent compiling 4.2 version on GCC 11[/-][+]`type-limits` check prevents compiling 4.2 version on GCC 11[/+]on Nov 30, 2023
changed the title [-]`type-limits` check prevents compiling 4.2 version on GCC 11[/-][+]`type-limits` check prevents compiling 4.2 version by GCC 11[/+]on Nov 30, 2023
Oof, that is silly! I wish GCC would just automatically turn that into true, rather than making it an error.
I just posted PR #1323 which should fix it, although, I'm not personally getting this error locally even though I have GCC 11.4 and I'm on the same distro (Ubuntu 22.04) as you.
So, please test and let me know if it fixes the issue for you!
Activity
[-]`type-limits` check prevent compiling on GCC 11[/-][+]`type-limits` check prevent compiling 4.2 version on GCC 11[/+][-]`type-limits` check prevent compiling 4.2 version on GCC 11[/-][+]`type-limits` check prevents compiling 4.2 version on GCC 11[/+][-]`type-limits` check prevents compiling 4.2 version on GCC 11[/-][+]`type-limits` check prevents compiling 4.2 version by GCC 11[/+]dsnopek commentedon Nov 30, 2023
Oof, that is silly! I wish GCC would just automatically turn that into
true, rather than making it an error.I just posted PR #1323 which should fix it, although, I'm not personally getting this error locally even though I have GCC 11.4 and I'm on the same distro (Ubuntu 22.04) as you.
So, please test and let me know if it fixes the issue for you!
akien-mga commentedon Nov 30, 2023
It's not an error, just a warning. But the OP's build has warnings treated as errors (
-Werror).I don't see where we'd enable this by default in the SCons setup, but it seems CMake forces it on, so that might be the problem.
-Werrorshouldn't be enabled by default, because we can't control what warnings new compilers might find in the future.