intel / onnxruntime

ONNX Runtime: cross-platform, high performance scoring engine for ML models
MIT License
56 stars 22 forks source link

fix: Windows debug build patch for C2220 warning as error #383

Closed ankitm3k closed 1 month ago

ankitm3k commented 2 months ago

This PR fixes the Debug build issue on Windows while using MSVC compiler.

image

sfatimar commented 2 months ago

Did you try to check the code and see why it is unreachable and fix that instead.

preetha-intel commented 2 months ago

https://github.com/intel/onnxruntime/pull/385/files#diff-6465519cbb5637fb777b39c7431bd86288284b5047d000cae74d5d7b36a308e5 This PR handles the error during debug build.

sfatimar commented 1 month ago

Please close this PR if it is rejected

sfatimar commented 1 month ago

This is no longer valid