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

Various Fixes around SIOF #1620

Merged
merged 4 commits into from
Jun 3, 2023

Conversation

Idclip
Copy link
Contributor

@Idclip Idclip commented May 25, 2023

Moved all cases of file static/global variables which relied on non-trivial construction into function scopes as static locals. These would previously initialize themselves on start-up in a non deterministic, compiler dictated order (static-initialization-order-fiasco). This order is now defined by the program's execution.

Copy link
Contributor

@danrbailey danrbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, lots of nice improvements here, thanks Nick.

@Idclip Idclip merged commit 500b507 into AcademySoftwareFoundation:master Jun 3, 2023
41 checks passed
@Idclip Idclip deleted the siof_problems branch June 3, 2023 01:15
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

Successfully merging this pull request may close these issues.

None yet

2 participants