lite.ai.toolkit icon indicating copy to clipboard operation
lite.ai.toolkit copied to clipboard

C++ 17 Exception error

Open shersoni610 opened this issue 1 year ago • 2 comments

Hello,

in ort_utils.h, there is a compilation error on MAC

error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] unsigned int data_format = CHW) throw(std::runtime_error);

shersoni610 avatar Aug 12 '22 16:08 shersoni610

My solution: delete "throw(std::runtime_error)" https://rules.sonarsource.com/cpp/RSPEC-2303

nguyenthuy1681999 avatar Mar 24 '23 03:03 nguyenthuy1681999

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 21 '24 00:04 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Apr 28 '24 00:04 github-actions[bot]