AnsweredAssumed Answered

IGF driver in S32DS PA SDK 2.9.0 missing 'extern "C"' block

Question asked by Dan Teodorescu on Apr 16, 2019
Latest reply on Apr 18, 2019 by Cuong Nguyen Van



The IGF driver offered in S32DS for Power Architecture SDK 2.9.0 is missing the `extern "C"` qualifier around the function declarations. This results in a linker error when the IGF code is called from C++ code, as follows:


igf_application.cpp:106: undefined reference to `IGF_DRV_Init(unsigned long, igf_config_t const*)'


Please add the missing qualifier around this block.


Thank you, Dan