Arduino: 1.8.13 (Mac OS X), Board: "Arduino Uno"
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:100:0: warning: "DEBUG_PRINT" redefined
# define DEBUG_PRINT(...) void()
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:34:0:
/Users/foote/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:112:0: note: this is the location of the previous definition
#define DEBUG_PRINT(x)
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:104:0: warning: "DEBUG_PRINTLN" redefined
# define DEBUG_PRINTLN(...) void()
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:34:0:
/Users/foote/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:114:0: note: this is the location of the previous definition
#define DEBUG_PRINTLN(x)
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:92:0: warning: "MARK_EXCESS_MICROS" redefined
#define MARK_EXCESS_MICROS 100
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:0:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:121:0: note: this is the location of the previous definition
#define MARK_EXCESS_MICROS 20
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:113:0: warning: "TICKS_LOW" redefined
#define TICKS_LOW(us) ((int) ((us)/67 )) // (us) / ((MICROS_PER_TICK:50 / LTOL:75 ) * 100)
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:361:0: note: this is the location of the previous definition
#define TICKS_LOW(us) ((us)/67 ) // (us) / ((MICROS_PER_TICK:50 / LTOL:75 ) * 100)
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:114:0: warning: "TICKS_HIGH" redefined
#define TICKS_HIGH(us) ((int) ((us)/40 + 1)) // (us) / ((MICROS_PER_TICK:50 / UTOL:125) * 100) + 1
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:362:0: note: this is the location of the previous definition
#define TICKS_HIGH(us) ((us)/40 + 1) // (us) / ((MICROS_PER_TICK:50 / UTOL:125) * 100) + 1
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:123:0: warning: "MARK" redefined
#define MARK 0 ///< Sensor output for a mark ("flash")
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:44:0: note: this is the location of the previous definition
#define MARK 1
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:124:0: warning: "SPACE" redefined
#define SPACE 1 ///< Sensor output for a space ("gap")
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:182:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremoteInt.h:45:0: note: this is the location of the previous definition
#define SPACE 0
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:330:0: warning: "TIMER_INTR_NAME" redefined
#define TIMER_INTR_NAME TIMER2_COMPB_vect // We use TIMER2_COMPB_vect to be compatible with tone() library
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:27:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:418:0: note: this is the location of the previous definition
#define TIMER_INTR_NAME TIMER2_COMPA_vect
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:355:0: warning: "TIMER_COUNT_TOP" redefined
#define TIMER_COUNT_TOP (F_CPU * MICROS_PER_TICK / 1000000)
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:27:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:433:0: note: this is the location of the previous definition
#define TIMER_COUNT_TOP (SYSCLOCK * MICROS_PER_TICK / 1000000)
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:31:0:
sketch/WriteInstinct/OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch/WriteInstinct/OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch/WriteInstinct/OpenCat.h:85:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:31:
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire/src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:31:0:
sketch/WriteInstinct/OpenCat.h: At global scope:
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch/WriteInstinct/OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
In file included from /Users/foote/Downloads/OpenCat/OpenCat.ino:34:0:
/Users/foote/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h: In member function 'uint8_t MPU6050::dmpGetGravity(int16_t*, const uint8_t*)':
/Users/foote/Documents/Arduino/libraries/MPU6050/MPU6050_6Axis_MotionApps20.h:522:65: warning: integer overflow in expression [-Woverflow]
- (int32_t)qI[2] * qI[2] + (int32_t)qI[3] * qI[3]) / (2 * 16384);
~~^~~~~~~
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:27:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h: In function 'void timerConfigForSend(uint8_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:378:18: error: 'F_CPU' was not declared in this scope
#define SYSCLOCK F_CPU // main Arduino clock
^
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:51:15: note: in expansion of macro 'SYSCLOCK'
#define F_CPU SYSCLOCK
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:339:30: note: in expansion of macro 'F_CPU'
const uint16_t pwmval = (F_CPU / 2000) / (aFrequencyKHz); // 210,52 for 38 kHz @16 MHz clock, 2000 instead of 1000 because of Phase Correct PWM
^~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h: In function 'void timerConfigForReceive()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:378:18: error: 'F_CPU' was not declared in this scope
#define SYSCLOCK F_CPU // main Arduino clock
^
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:51:15: note: in expansion of macro 'SYSCLOCK'
#define F_CPU SYSCLOCK
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:355:27: note: in expansion of macro 'F_CPU'
#define TIMER_COUNT_TOP (F_CPU * MICROS_PER_TICK / 1000000)
^~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:364:13: note: in expansion of macro 'TIMER_COUNT_TOP'
OCR2A = TIMER_COUNT_TOP;
^~~~~~~~~~~~~~~
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: At global scope:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:45:24: error: conflicting declaration 'irparams_struct irparams'
struct irparams_struct irparams; // the irparams instance
^~~~~~~~
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:66:28: note: previous declaration as 'volatile irparams_t irparams'
extern volatile irparams_t irparams;
^~~~~~~~
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In constructor 'IRrecv::IRrecv()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:52:33: error: cannot convert 'volatile irparams_t*' to 'irparams_struct*' in assignment
decodedIRData.rawDataPtr = &irparams; // for decodePulseDistanceData() etc.
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In constructor 'IRrecv::IRrecv(uint8_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:60:33: error: cannot convert 'volatile irparams_t*' to 'irparams_struct*' in assignment
decodedIRData.rawDataPtr = &irparams; // for decodePulseDistanceData() etc.
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In constructor 'IRrecv::IRrecv(uint8_t, uint8_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:72:33: error: cannot convert 'volatile irparams_t*' to 'irparams_struct*' in assignment
decodedIRData.rawDataPtr = &irparams; // for decodePulseDistanceData() etc.
^~~~~~~~
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'void IRrecv::setReceivePin(uint8_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:107:14: error: 'volatile struct irparams_t' has no member named 'IRReceivePin'
irparams.IRReceivePin = aReceivePinNumber;
^~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:109:14: error: 'volatile struct irparams_t' has no member named 'IRReceivePinMask'
irparams.IRReceivePinMask = digitalPinToBitMask(aReceivePinNumber);
^~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:110:14: error: 'volatile struct irparams_t' has no member named 'IRReceivePinPortInputRegister'
irparams.IRReceivePinPortInputRegister = portInputRegister(digitalPinToPort(aReceivePinNumber));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'void IRrecv::start(uint16_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:128:14: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR += aMicrosecondsToAddToGapCounter / MICROS_PER_TICK;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'void IRrecv::enableIRIn()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:164:22: error: 'volatile struct irparams_t' has no member named 'IRReceivePin'
pinMode(irparams.IRReceivePin, INPUT);
^~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'bool IRrecv::isIdle()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:179:22: error: 'volatile struct irparams_t' has no member named 'StateForISR'
return (irparams.StateForISR == IR_REC_STATE_IDLE || irparams.StateForISR == IR_REC_STATE_STOP) ? true : false;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:179:67: error: 'volatile struct irparams_t' has no member named 'StateForISR'
return (irparams.StateForISR == IR_REC_STATE_IDLE || irparams.StateForISR == IR_REC_STATE_STOP) ? true : false;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'void IRrecv::resume()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:188:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
if (irparams.StateForISR == IR_REC_STATE_STOP) {
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:189:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_IDLE;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'void IRrecv::initDecodedIRData()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:199:18: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
if (irparams.OverflowFlag) {
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:201:18: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
irparams.OverflowFlag = false;
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'bool IRrecv::available()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:225:22: error: 'volatile struct irparams_t' has no member named 'StateForISR'
return (irparams.StateForISR == IR_REC_STATE_STOP);
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'IRData* IRrecv::read()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:232:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
if (irparams.StateForISR != IR_REC_STATE_STOP) {
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'bool IRrecv::decode()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:248:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
if (irparams.StateForISR != IR_REC_STATE_STOP) {
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In function 'void __vector_8()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1271:39: error: 'volatile struct irparams_t' has no member named 'IRReceivePinPortInputRegister'
uint8_t tIRInputLevel = *irparams.IRReceivePinPortInputRegister & irparams.IRReceivePinMask;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1271:80: error: 'volatile struct irparams_t' has no member named 'IRReceivePinMask'
uint8_t tIRInputLevel = *irparams.IRReceivePinPortInputRegister & irparams.IRReceivePinMask;
^~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1279:18: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
if (irparams.TickCounterForISR < 0xFFFF) {
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1280:18: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR++; // One more 50uS tick
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1289:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
if (irparams.StateForISR == IR_REC_STATE_IDLE) { // In the middle of a gap or just resumed (and maybe in the middle of a transmission
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1292:26: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
if (irparams.TickCounterForISR > RECORD_GAP_TICKS) {
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1298:26: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
irparams.OverflowFlag = false;
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1299:47: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.rawbuf[0] = irparams.TickCounterForISR;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1301:26: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_MARK;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1303:22: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR = 0;// reset counter in both cases
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1306:25: error: 'volatile struct irparams_t' has no member named 'StateForISR'
} else if (irparams.StateForISR == IR_REC_STATE_MARK) { // Timing Mark
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1311:59: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.rawbuf[irparams.rawlen++] = irparams.TickCounterForISR;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1312:22: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_SPACE;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1313:22: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR = 0;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1316:25: error: 'volatile struct irparams_t' has no member named 'StateForISR'
} else if (irparams.StateForISR == IR_REC_STATE_SPACE) { // Timing Space
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1320:26: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
irparams.OverflowFlag = true;
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1321:26: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_STOP;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1326:63: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.rawbuf[irparams.rawlen++] = irparams.TickCounterForISR;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1327:26: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_MARK;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1329:22: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR = 0;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1331:29: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
} else if (irparams.TickCounterForISR > RECORD_GAP_TICKS) {
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1338:22: error: 'volatile struct irparams_t' has no member named 'StateForISR'
irparams.StateForISR = IR_REC_STATE_STOP;
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1340:25: error: 'volatile struct irparams_t' has no member named 'StateForISR'
} else if (irparams.StateForISR == IR_REC_STATE_STOP) {
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1350:22: error: 'volatile struct irparams_t' has no member named 'TickCounterForISR'
irparams.TickCounterForISR = 0;
^~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h: In member function 'bool IRrecv::decode(decode_results*)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1376:18: error: 'volatile struct irparams_t' has no member named 'StateForISR'
if (irparams.StateForISR != IR_REC_STATE_STOP) {
^~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1387:33: warning: invalid conversion from 'volatile unsigned int*' to 'uint16_t* {aka unsigned int*}' [-fpermissive]
aResults->rawbuf = irparams.rawbuf;
~~~~~~~~~^~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1389:18: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
if (irparams.OverflowFlag) {
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1391:18: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
irparams.OverflowFlag = false;
^~~~~~~~~~~~
overflow
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1395:35: error: 'volatile struct irparams_t' has no member named 'OverflowFlag'; did you mean 'overflow'?
aResults->overflow = irparams.OverflowFlag;
^~~~~~~~~~~~
overflow
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteInt.h:27:0,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:32,
from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:183,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRSend.cpp.h: In member function 'void IRsend::enableIROut(uint8_t)':
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:378:18: error: 'F_CPU' was not declared in this scope
#define SYSCLOCK F_CPU // main Arduino clock
^
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:51:15: note: in expansion of macro 'SYSCLOCK'
#define F_CPU SYSCLOCK
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:179:48: note: in expansion of macro 'F_CPU'
#define PULSE_CORRECTION_NANOS (48000000000L / F_CPU) // 3000 @16MHz, 666 @72MHz
^~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRSend.cpp.h:465:76: note: in expansion of macro 'PULSE_CORRECTION_NANOS'
periodOnTimeMicros = (((periodTimeMicros * IR_SEND_DUTY_CYCLE) + 50 - (PULSE_CORRECTION_NANOS / 10)) / 100U); // +50 for rounding
^~~~~~~~~~~~~~~~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRSend.cpp.h: In member function 'unsigned int IRsend::getPulseCorrectionNanos()':
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRremoteBoardDefs.h:378:18: error: 'F_CPU' was not declared in this scope
#define SYSCLOCK F_CPU // main Arduino clock
^
/Users/foote/Documents/Arduino/libraries/IRremote/src/private/IRTimer.cpp.h:51:15: note: in expansion of macro 'SYSCLOCK'
#define F_CPU SYSCLOCK
^~~~~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:179:48: note: in expansion of macro 'F_CPU'
#define PULSE_CORRECTION_NANOS (48000000000L / F_CPU) // 3000 @16MHz, 666 @72MHz
^~~~~
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRSend.cpp.h:473:12: note: in expansion of macro 'PULSE_CORRECTION_NANOS'
return PULSE_CORRECTION_NANOS;
^~~~~~~~~~~~~~~~~~~~~~
/Users/foote/Downloads/OpenCat/OpenCat.ino: In function 'void loop()':
/Users/foote/Downloads/OpenCat/OpenCat.ino:431:31: warning: 'bool IRrecv::decode(decode_results*)' is deprecated: Please use IrReceiver.decode() without a parameter and IrReceiver.decodedIRData. . [-Wdeprecated-declarations]
if (irrecv.decode(&results)) {
^
In file included from /Users/foote/Documents/Arduino/libraries/IRremote/src/IRremote.h:188:0,
from /Users/foote/Downloads/OpenCat/OpenCat.ino:73:
/Users/foote/Documents/Arduino/libraries/IRremote/src/IRReceive.cpp.h:1373:6: note: declared here
bool IRrecv::decode(decode_results *aResults) {
^~~~~~
/Users/foote/Downloads/OpenCat/OpenCat.ino:526:40: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
char* list = inBuffer.c_str();
~~~~~~~~~~~~~~^~
/Users/foote/Downloads/OpenCat/OpenCat.ino:589:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
/Users/foote/Downloads/OpenCat/OpenCat.ino:728:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("balance", 1, 2, false);
^
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.