Thank you for your reply Patrick.
I changed to SDK v1.0 but the error still persists. I have also check for differences between the out_of_box example and does not seem to find any variations.
I downloaded the older version from https://github.com/exosite-garage/CC3200CloudDemo and it compiled with no error.
Following code snippet from the above link did not give any error -
void SimpleLinkSockEventHandler(SlSockEvent_t *pSock)
// This application doesn’t work w/ socket - Events are not expected
switch( pSock->Event )
switch( pSock->EventData.status ) <<<<<<< no error from this line
I am really stuck…Hope you can help me out here. Thanks again.