This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Undefined symbol when __inline is enabled

Hi, I am using ccs v5.5. I am writing some function like __Inline int add( int a, int b ) { return (_sadd(a,b) ); } This implementation gives undefined symbol error when used. But when __inline is disabled the error disappears. Why is this behaviour so by the compiler. Also i found the __inline specifier works fine for some intrinsics works in lower optimisation levels and fails in high optimization lebels. REGARDS, SREENIVASA U,