Closed skyline75489 closed 2 weeks ago
/azp run onnxruntime-extensions.CI
- warning C5038: data member 'ortextensions::ImageProcessor::allocator' will be initialized after base class 'OrtxObjectImpl'
- warning C5038: data member 'ortextensions::OrtxRunner::allocator' will be initialized after data member 'ortextensions::OrtxRunner::ops'
Thanks for the fixing,
How do you find this issue? From https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5038?view=msvc-170, the warning is off by default.
Suggested by Changming, ORT uses /WX
, which treats all warnings as errors. In ort-genai, we try to accomplish the same