mahmoud2 / pinguino32

Automatically exported from code.google.com/p/pinguino32
0 stars 0 forks source link

compilation fails when using UserInterrupt #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In pinguino ide X.2 from svn revision 464, on Debian testing,
Even with this simple code:

void UserInterrupt(){}
void setup(){}
void loop(){}

Compilation fails with the message:

error while compiling file

content of source/stdout:

source/main.c:63: warning 112: function 'int_init' implicit declaration
source/main.c:75: warning 112: function 'int_start' implicit declaration
source/main.c:63: warning 84: 'auto' variable 'int_init' may be used before 
initialization
source/main.c:75: warning 84: 'auto' variable 'int_start' may be used before 
initialization
source/main.c:63: warning 84: 'auto' variable 'int_init' may be used before 
initialization
source/main.c:75: warning 84: 'auto' variable 'int_start' may be used before 
initialization
source/main.asm:23:Error [113] Symbol not previously defined (_int_init).
source/main.asm:24:Error [113] Symbol not previously defined (_int_start).
source/main.asm:345:Error [113] Symbol not previously defined (_int_init).
source/main.asm:345:Error [113] Symbol not previously defined (_int_init).
source/main.asm:349:Error [113] Symbol not previously defined (_int_start).
source/main.asm:349:Error [113] Symbol not previously defined (_int_start).

Original issue reported on code.google.com by denj...@gmail.com on 29 May 2012 at 2:18

GoogleCodeExporter commented 9 years ago
FYI : rev. 737 UserInterrupt() has been renamed in interrupt()

Original comment by rblanchot@gmail.com on 23 Apr 2013 at 8:33