mithun mohan
Junior Member level 3
- Joined
- Jul 13, 2013
- Messages
- 26
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 3
- Location
- India,malappuram
- Activity points
- 131
Hi there,
good wishes !!
COMPILER : mikroCpro for ARM
i get an error when i call a typedef 'ed function. the code is given below,
typedef void functions__(void);
functions__ add;
int main()
{
while(1)
{
add(); // error only comes when i 'call' this declared function
}
return 0;
}
void add(void)
{
// "function body"
}
compile error comes like this :- "Finished(with errors):"
no description whatsoever
This code runs fine in C30 compiler(MICROCHIP) ...Please help me out in this .I spent hours for rectifying this.This is driving me insane....
thanks in advance ...
good wishes !!
COMPILER : mikroCpro for ARM
i get an error when i call a typedef 'ed function. the code is given below,
typedef void functions__(void);
functions__ add;
int main()
{
while(1)
{
add(); // error only comes when i 'call' this declared function
}
return 0;
}
void add(void)
{
// "function body"
}
compile error comes like this :- "Finished(with errors):"
no description whatsoever
This code runs fine in C30 compiler(MICROCHIP) ...Please help me out in this .I spent hours for rectifying this.This is driving me insane....
thanks in advance ...