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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/24/00 02:57
Read: times


 
#2306 - RE: Linker error.
The error "Function memset in module memset ( c:icccl8051l.r03 ) is called from two function trees ( with roots main and clear_sms_message )" generally means that the function is called from two functions which appear to the compiler to be completely independent.

For example, if you have main() in a normal (non-interrupt-based) sysetm, every single function in the program is called indirectly by main. However, if you have an interrupt routine, that function in 'C' will appear to never be called by the main program since it is actually called as an ISR.

The compiler is warning you that the given function (memset) is called by two sections of code that appear to be completely independent. If memset is called by the two sections of code simultaneously there could be problems.

Take care,
Craig Steiner

List of 3 messages in thread
TopicAuthorDate
Linker error.            01/01/70 00:00      
RE: Linker error.            01/01/70 00:00      
RE: Linker error.            01/01/70 00:00      

Back to Subject List