I check my code base and the generated header files, that there are no extern c block that include c++ header files or defined any template, overload function, but still encounter such error
D:\surround360\vcpkg\installed\x64-windows\include\HalideRuntime.h(2033): error C2894: Templates cannot be declared to have "C" linkage
D:\surround360\vcpkg\installed\x64-windows\include\HalideRuntime.h(2064): error C2733: 'halide_type_of': cannot overload function with external "C" linkage
D:\surround360\vcpkg\installed\x64-windows\include\HalideRuntime.h(2047): note: see declaration of 'halide_type_of'
I check my code base and the generated header files, that there are no extern c block that include c++ header files or defined any template, overload function, but still encounter such error
is that caused by the halide relate header files?