| ??? 09/12/11 23:00 Read: times  | 
#183738 - warning Responding to: ???'s previous message  | 
Andy Peters said: 
SDCC throws the following warning:
 ..main.c:150: warning 139: call via function pointer in ISR using non-zero register bank.
            Cannot determine which register bank to save.
 
Fine, a nice warning. How do I make it go away? There is a way in SDCC to suppress any warning by its number through a #pragma. I know this is not what you did want to hear, but in fact this might be the only option - except to write the ISR(s) in assembler, which I presume you will refuse on what I think are largely religious grounds :-) Of course you first make sure all that stuff will work by assigning the same register bank to all the functions you are going to call (http://sdcc.sourceforge.net/doc/sdccm...l#foot1745 ) JW  | 
| Topic | Author | Date | 
| SDCC: function pointers in an ISR | 01/01/70 00:00 | |
| Alternative | 01/01/70 00:00 | |
| re: Alternative | 01/01/70 00:00 | |
| Register bank 1 | 01/01/70 00:00 | |
| re: register bank 1 | 01/01/70 00:00 | |
| Using... | 01/01/70 00:00 | |
| Lack of orthogonality | 01/01/70 00:00 | |
| incorrect warning | 01/01/70 00:00 | |
| re: incorrect warning | 01/01/70 00:00 | |
| not fixed yet | 01/01/70 00:00 | |
| re: not fixed yet | 01/01/70 00:00 | |
| Actel's answer. | 01/01/70 00:00 | |
| warning | 01/01/70 00:00 | |
| function pointers in SDCC | 01/01/70 00:00 | |
| bug fixed! | 01/01/70 00:00 | |
| Actel support | 01/01/70 00:00 | |
         Still on the payroll        | 01/01/70 00:00 | 



