After import a project in to SEGGER and included paths of header files
While compiling i got the error like below
sorry, unimplemented: non-trivial designated initializers not supported
Kindly provide solution.
Best Regards
learn
That's a standard GCC Error message - try putting it into your favourite internet search engine.
As has been mentioned before, the Nordic SDK code is written in 'C', and relies on some specific 'C' features which are not available in C++
"Designated Initialisers" is one of them.
As an extension, GCC supports some limited - or "trivial" - use of Designated Initialisers in its C++ implementation.
If you go beyond these "trivial" uses - as the Nordic SDK does - you get a message telling you that non-trivial designated initialisers not supported.