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

Fix mingw compile error #119

Merged
merged 2 commits into from Jun 11, 2020

Conversation

Lastique
Copy link
Member

@Lastique Lastique commented Jun 7, 2020

MinGW has nonstandard definition of PSECURITY_DESCRIPTOR, which requires a cast when calling WinAPI functions InitializeSecurityDescriptor and SetSecurityDescriptorDacl. This is done by Boost.WinAPI wrapper functions.

Fixes #118.

Also, fixed the initialized flag not being set correctly after interprocess_all_access_security initialization completes.

MinGW has nonstandard definition of PSECURITY_DESCRIPTOR, which requires
a cast when calling WinAPI functions InitializeSecurityDescriptor and
SetSecurityDescriptorDacl. This is done by Boost.WinAPI wrapper functions.

Fixes boostorg#118.
@Lastique
Copy link
Member Author

@igaztanaga A kind reminder. This is currently causing massive Boost.Log CI failures on Windows.

@igaztanaga igaztanaga merged commit c604a4b into boostorg:develop Jun 11, 2020
@igaztanaga
Copy link
Member

Many thanks for the patch and the reminder ;-)

@Lastique Lastique deleted the fix_mingw_compile_error branch June 11, 2020 22:19
@Lastique
Copy link
Member Author

Please, remember to merge to master.

@igaztanaga
Copy link
Member

Done!

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.

MinGW compilation errors after porting to Boost.WinAPI because of missing casts
2 participants