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: Ensure Command Line Arguments Are Respected in Clang Compilation #622

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

AndreasLokko
Copy link
Contributor

@AndreasLokko AndreasLokko commented Mar 14, 2024

Resolved an issue where command line arguments were ignored, specifically when the program was compiled with Clang. The problem was addressed by correctly assigning the priority in attribute((constructor(101))), ensuring proper initialization and consistent behavior across compilation environments."

Problem:
Command line arguments were ignored, specifically when the program was compiled with Clang.

Solution:
Assigning the priority in __attribute__((constructor(101))) inline void cmd_line_args(int argc, const char* argv[])

Issue: #590

Reviewers:
@krzysztof-jusiak

Resolved an issue where command line arguments were ignored, specifically when the program was compiled with Clang. The problem was addressed by correctly assigning the priority in __attribute__((constructor(101))), ensuring proper initialization and consistent behavior across compilation environments."
@kris-jusiak kris-jusiak merged commit 3cfd993 into boost-ext:master Mar 14, 2024
6 of 8 checks passed
@kris-jusiak
Copy link
Contributor

Thanks @AndreasLokko

@AndreasLokko AndreasLokko deleted the patch-3 branch March 14, 2024 10:11
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.

2 participants