Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

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

$
0
0

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 ?

 


Viewing all articles
Browse latest Browse all 36216

Trending Articles