-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
-Wsafe-init doesn't detect initialization order problems #22152
Comments
apparently, even without |
They keep the good stuff in the back.
I don't actually know what the difference is, or what difference is intended, although I tried to follow the threads. |
|
Good to know! I like the rendering of the trace, very cool :) Shall we keep this open or is there another ticket that covers -Ysafe-init-global? |
@kubukoz let's keep it, I don't think we track this anywhere else at this point. |
Compiler version
3.6.1, 3.6.4-RC1-bin-20241204-a67dbb0-NIGHTLY
Minimized code
compiled with
-Wsafe-init
Output
Expectation
something similar to 2.13's behavior under
-Xcheckinit
:The text was updated successfully, but these errors were encountered: