You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your environment.
Building on Windows 11 with VS 2022 17.12.1 for UWP on x64/ARM64
Steps to reproduce.
Invoke .\build-win.ps1 release x64,arm64 after cloning the repo
What is the expected behavior?
Successful compilation
What is the actual behavior?
Compiler reports: error D8016: '/O1' and '/RTC1' command-line options are incompatible [C:\Code\Git\SurfaceOneDS\cpp_client_telemetry\sqlite\sqlite.vcxproj]
Additional context.
On the one hand, it seems like I'm doing something wrong because there haven't been any changes to these build settings in years. On the other hand, the options are contradictory. O1 means "minimize size" and RTC1 means "add extra run time checks", and you can't really do both of those at the same time. So it could be that more recent versions of Visual Studio are just stricter about requiring the users to be clear about what they want, but I don't think that's true either. I'm not sure how this ever compiled... Which brings me back to I'm missing something...
If it is an issue that needs to be addressed, the fix is very simple and I'm happy to submit a PR but want to make sure it isn't user-error on my part first.
The text was updated successfully, but these errors were encountered:
Describe your environment.
Building on Windows 11 with VS 2022 17.12.1 for UWP on x64/ARM64
Steps to reproduce.
.\build-win.ps1 release x64,arm64
after cloning the repoWhat is the expected behavior?
Successful compilation
What is the actual behavior?
Compiler reports:
error D8016: '/O1' and '/RTC1' command-line options are incompatible [C:\Code\Git\SurfaceOneDS\cpp_client_telemetry\sqlite\sqlite.vcxproj]
Additional context.
On the one hand, it seems like I'm doing something wrong because there haven't been any changes to these build settings in years. On the other hand, the options are contradictory.
O1
means "minimize size" andRTC1
means "add extra run time checks", and you can't really do both of those at the same time. So it could be that more recent versions of Visual Studio are just stricter about requiring the users to be clear about what they want, but I don't think that's true either. I'm not sure how this ever compiled... Which brings me back to I'm missing something...If it is an issue that needs to be addressed, the fix is very simple and I'm happy to submit a PR but want to make sure it isn't user-error on my part first.
The text was updated successfully, but these errors were encountered: