Question:
Reason for getting“__adi_generic declared implicitly” error message when running static analysis tool on VisualDSP++ project
Answer:
The __adi_generic macro is a mechanism for overloading a single C function name onto multiple assembly names, and is used for functions that have different implementations depending on whether the function is given a pointer to dm or to pm memory. It is built in to the compiler, so there is no declaration in the header files. It works in a similar way to the type-generic math in C99 and later that allows overloading of functions based on floating-point type.
As such, we recommend to ignore the implicit declaration error message.