Tool/software: TI C/C++ Compiler
I'm trying to convert an old MSP430F1491 IAR embedded workbench project to CCS 9.2 and I'm getting some errors that I don't know how to solve.
The compiler tells me that there are missing brackets in stdlib.h
on these lines specifically:
typedef int (*__TI_compar_fn)(const void *_a,const void *_b);
_CODE_ACCESS int mblen(const char *_s, size_t _n);
_CODE_ACCESS size_t mbstowcs(wchar_t * __restrict _dest, const char * __restrict _src, size_t _n);
_CODE_ACCESS int mbtowc(wchar_t * __restrict _dest, const char * __restrict _src, size_t _n);
_CODE_ACCESS size_t wcstombs(char * __restrict _dest, const wchar_t * __restrict _src, size_t _n);
_CODE_ACCESS int wctomb(char *_s, wchar_t _wc);
I searched the internet and some people have had similar problems. It may have something to do with duplicate implementations of the functions mblen(), mbstowcs() etc… but I have not been able to find a solution.
Regards Bernd
