AnsweredAssumed Answered

C++ compatibility of some USDPAA headers

Question asked by Dmitry Slezkin on Feb 8, 2016
Latest reply on Feb 9, 2016 by Serguei Podiatchev


I faced a problem with USDPAA API. Some usdpaa headers such as fman.h and compat.h uses pure C approaches: global variables declarations and implicit type conversions instead of other headers (fsl_bman.h, fsl_qman.h, etc.).

The C++ errors with type conversions can be suppressed with -fpermissive (with warnings remained), but the globals issues linker errors of multiple definition.


Is it planned to fix this incompatibilities in the next SDK version or the recommendation is to strictly use C?


I use T4240RDB target and SDK 1.9.


Thank you.