Skip to content

Fixed bug with common prefix of options - #1

Open
m-sedl wants to merge 1 commit into
program-analysis-team:masterfrom
m-sedl:fixed-GetOptionValue
Open

Fixed bug with common prefix of options#1
m-sedl wants to merge 1 commit into
program-analysis-team:masterfrom
m-sedl:fixed-GetOptionValue

Conversation

@m-sedl

@m-sedl m-sedl commented Jul 3, 2023

Copy link
Copy Markdown

Now, if you pass the -stdlib=libstdc++ option to --compile-options, then calling compilerOptions.GetOptionValue("-std") will return an incorrect result. This is because the current version of GetOptionValue looks for any option that starts with the "-std" prefix instead of a full string comparison.

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.

1 participant