AnsweredAssumed Answered

CCES editor is not picking up prototype changes in .h file

Question asked by MikeSmithCanada on Aug 10, 2013
Latest reply on Aug 14, 2013 by CraigG

Hi,

See image below

 

"Last week"  I had an include file with a prototype for a function

"extern "C" unsigned int uTTCOS_AddTask(void (*)(void), const unsigned int , const unsigned int );

This week I changed the function prototype to

"extern "C" unsigned int uTTCOS_AddTask(void (*)(void *), void *,  const unsigned int , const unsigned int );

 

As can be seen from the warning messages in the console window -- this prototype is being used during the compile operation

#warning directive: "extern "C" unsigned int uTTCOS_AddTask(void (*)(void *), void *,  const unsigned int , const unsigned int );"

 

However the editor is still insisting that its the wrong prototype

 

I have tried -- refresh -- closing and re-opening CCES -- I have not tried rebooting the system -- will try that to night -- but if that works, its a work-around and not a fix

Any suggestions ?

 

Outcomes