This PR fixes a C compatibility issue in the TfLiteQuantizationType enum definition. The current definition uses C++ syntax (enum : int) which causes compilation errors when included in C projects. This PR adds conditional compilation directives to use C++ syntax only when compiling with C++.
2 Matching Annotations
- Jun 2025
-
github.com github.com
-
-
github.com github.com
-
Using MSVC 2022, but same error occurs while using LLVM/MSVC2019 compiler with my C++ application (in Qt 6.5.0)
-