See Loo

help array size

Discussion created by See Loo on Jul 14, 2006
Latest reply on Jul 20, 2006 by See Loo
hi,
 
I am trying to store the message from the keypress in an array of size 500. when I compile, the memory location of the array kyprs_buf[500] and keyRo are in the reserve area.  Program can still run but will stop at the declaration of kyprs_buf[500]. I tried before declaring this array[500] at one of the sample software by freescale and it works. I don't know what happen here.
 
2. there are warning saying that
 
Warning : C1420: Result of function-call is ignored
key.c line 68  
 
this happens when calling the function 
 
dosomething()    
 
 

Outcomes