I have a piece of code which I know should be able to compile with Arduino IDE 1.0.5.
However, when trying to compile some errors come up:
'NoInterrupts' was not declared in this scope
afsk.cpp: In function 'bool afsk_is_fifo_full_safe()':
afsk.cpp:82: error: 'noInterrupts' was not declared in this scope
afsk.cpp:83: error: 'boolean' was not declared in this scope
afsk.cpp:83: error: expected `;' before 'b'
afsk.cpp:84: error: 'interrupts' was not declared in this scope
afsk.cpp:85: error: 'b' was not declared in this scope
afsk.cpp: In function 'bool afsk_is_fifo_empty_safe()':
afsk.cpp:95: error: 'noInterrupts' was not declared in this scope
afsk.cpp:97: error: 'interrupts' was not declared in this scope
afsk.cpp: In function 'void afsk_fifo_in_safe(uint8_t)':
afsk.cpp:109: error: 'noInterrupts' was not declared in this scope
afsk.cpp:111: error: 'interrupts' was not declared in this scope
afsk.cpp: In function 'uint8_t afsk_fifo_out_safe()':
afsk.cpp:123: error: 'noInterrupts' was not declared in this scope
afsk.cpp:125: error: 'interrupts' was not declared in this scope
afsk.cpp: At global scope:
afsk.cpp:229: error: expected constructor, destructor, or type conversion before '(' token
I'm using Mac and it's not the first time that I face issues which I do not face with Windows. Anyone can help?
Thank you.