C166 has #message directive but ARMCC doesnt have #message or #pragma message. only #warning & #error.
is there any alternate way to display messages?.
like i want to display message for what uarts are used for what purpose in the code and their baud rate configurations.
It's a non-standard, proprietary extension - so you can't rely on - or even expect - it to be present in any other compiler.
AFAIK, there is no standard facility to do this in the 'C' programming language.
Perhaps you could just use the C166 preprocessor as a pre-build step...?