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

Remove /Zi compilation flag #2325

Merged
merged 1 commit into from
Jul 11, 2022
Merged

Remove /Zi compilation flag #2325

merged 1 commit into from
Jul 11, 2022

Conversation

florelis
Copy link
Member

@florelis florelis commented Jul 11, 2022

I added some extra compilation flags on #2281 for debug information. One of them was /Zi globally. /ZI (add debug symbols compatible with VS's Edit and Continue) is already added by default for Debug builds (on x86 and x64), and /Zi (add debug symbols) is added by default for Release or ARM builds, so this flag wasn't needed on Release (what we needed) and on Debug it would cause a warning due to using both /Zi and /ZI.

This flag can be set in VS with the property "Configuration Properties > C/C++ > General > Debug Information Format", which has the default value.

Microsoft Reviewers: Open in CodeFlow

@florelis florelis requested a review from a team as a code owner July 11, 2022 22:05
@florelis florelis merged commit 65cc2cc into microsoft:master Jul 11, 2022
@florelis florelis deleted the debugFlag branch July 11, 2022 23:38
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