Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/17/03 14:28
Read: times


 
#48598 - Keil and recursive warning
Hello All

Why I get a message ***WARNING L13 RECURSIVE CALL TO SEGMENT from Keil C ?
How to bypass this error ?


Program structure:

void Func1();
void Func2();
void (*FuncPtr)() = Func2(); // Ponter to
// function Func2()


void SerialInterrupt () interrupt SIO_VECTOR
{
Func1(); // Call Func1()
FuncPtr(); //Func2() is called
//via function pointer (FuncPtr)
}

void Func1()
{
//Program 1
}

void Func2()
{
//Program 2
Func1(); // Call Func1(): In this point I get
//warning message
}

Func1 and Func2 are called from interrupt !

Iztok


List of 11 messages in thread
TopicAuthorDate
Keil and recursive warning            01/01/70 00:00      
   RE: Keil and recursive warning            01/01/70 00:00      
   RE: Keil and recursive warning            01/01/70 00:00      
   RE: Keil and recursive warning            01/01/70 00:00      
      RE: Keil and recursive warning            01/01/70 00:00      
   It\'s Manual-Reading Time!            01/01/70 00:00      
      RE: It\\\'s Manual-Reading Time!            01/01/70 00:00      
         RE: It\\\'s Manual-Reading Time!            01/01/70 00:00      
            RE: It\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s Manual-Rea            01/01/70 00:00      
               RE: It\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s Manual-Rea            01/01/70 00:00      
                  RE: It\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\            01/01/70 00:00      

Back to Subject List