[Errno 21] Is a directory: '/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/.pioenvs' Please manually remove the file `/media/c/Users/Nathan/Documents/PlatformIO/Projects/MidiKeyboard/.pioenvs` Processing micro (platform: atmelavr; board: micro; framework: arduino) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/micro.html PLATFORM: Atmel AVR > Arduino Micro HARDWARE: ATMEGA32U4 16MHz 2.50KB RAM (28KB Flash) Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF MODES: FINDER(chain) COMPATIBILITY(soft) Collected 32 compatible libraries Scanning dependencies... Dependency Graph |-- 3.1.0 #e895a51 | |-- 1.0.3 | |-- 1.0 Compiling .pioenvs/micro/src/main.cpp.o Compiling .pioenvs/micro/src/mainTest.cpp.o Compiling .pioenvs/micro/lib103/MIDIUSB_ID1104/MIDIUSB.cpp.o Compiling .pioenvs/micro/libe75/SoftwareSerial/SoftwareSerial.cpp.o src/mainTest.cpp:21:13: warning: 'Analog' is deprecated Analog potentiometers[] = { ^ src/main.cpp:35:13: warning: 'Analog' is deprecated Analog potentiometers[] = { ^ In file included from lib/MIDI_controller/src/./MIDI_Controller/MIDI_Controller_Class.h:4:0, from lib/MIDI_controller/src/MIDI_Controller.h:10, from src/mainTest.cpp:3: lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h: In member function 'virtual void USBMIDI_Interface::sendImpl(uint8_t, uint8_t, uint8_t, uint8_t)': lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:36: warning: narrowing conversion of '(((int)m) >> 4)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] midiEventPacket_t msg = {m >> 4, m | c, d1, d2}; ^ lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:44: warning: narrowing conversion of '(int)(m | c)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] midiEventPacket_t msg = {m >> 4, m | c, d1, d2}; ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:5:0, from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/mainTest.cpp:3: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual int ExtendedIOElement::digitalRead(pin_t)': lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:33:38: warning: no return statement in function returning non-void [-Wreturn-type] virtual int digitalRead(pin_t pin){}; ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual analog_t ExtendedIOElement::analogRead(pin_t)': lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:34:42: warning: no return statement in function returning non-void [-Wreturn-type] virtual analog_t analogRead(pin_t pin){}; ^ In file included from lib/MIDI_controller/src/./MIDI_Controller/MIDI_Controller_Class.h:4:0, from lib/MIDI_controller/src/MIDI_Controller.h:10, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h: In member function 'virtual void USBMIDI_Interface::sendImpl(uint8_t, uint8_t, uint8_t, uint8_t)': lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:36: warning: narrowing conversion of '(((int)m) >> 4)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] midiEventPacket_t msg = {m >> 4, m | c, d1, d2}; ^ lib/MIDI_controller/src/./MIDI_Controller/../MIDI_Interfaces/USBMIDI_Interface.h:46:44: warning: narrowing conversion of '(int)(m | c)' from 'int' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing] midiEventPacket_t msg = {m >> 4, m | c, d1, d2}; ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:5:0, from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual int ExtendedIOElement::digitalRead(pin_t)': lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:33:38: warning: no return statement in function returning non-void [-Wreturn-type] virtual int digitalRead(pin_t pin){}; ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h: In member function 'virtual analog_t ExtendedIOElement::analogRead(pin_t)': lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedIOElement.h:34:42: warning: no return statement in function returning non-void [-Wreturn-type] virtual analog_t analogRead(pin_t pin){}; ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0, from src/mainTest.cpp:3: lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In constructor 'AnalogMultiplex::AnalogMultiplex(pin_t, std::initializer_list)': lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder] const size_t nb_addressPins, nb_addresses; ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:24:50: warning: base 'ExtendedIOElement' [-Wreorder] ExtendedIOElement(1 << addressPins.size()) ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:22:3: warning: when initialized here [-Wreorder] AnalogMultiplex(pin_t analogPin, std::initializer_list addressPins) ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0, from src/main.cpp:2: lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In constructor 'AnalogMultiplex::AnalogMultiplex(pin_t, std::initializer_list)': lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder] const size_t nb_addressPins, nb_addresses; ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:24:50: warning: base 'ExtendedIOElement' [-Wreorder] ExtendedIOElement(1 << addressPins.size()) ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:22:3: warning: when initialized here [-Wreorder] AnalogMultiplex(pin_t analogPin, std::initializer_list addressPins) ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:28:0, from src/mainTest.cpp:3: lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:57:111: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ src/main.cpp: In function 'void setup()': src/main.cpp:50:51: error: call of overloaded 'pinMode(uint8_t, int)' is ambiguous pinMode(static_cast(shift_clock), OUTPUT); ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ In file included from src/main.cpp:1:0: /home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t) void pinMode(uint8_t, uint8_t); ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t) extern void pinMode(int pin, uint8_t mode); ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t) extern void pinMode(pin_t pin, uint8_t mode); ^ src/main.cpp:51:28: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous pinMode(shift_data, OUTPUT); ^ In file included from src/main.cpp:1:0: /home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t) void pinMode(uint8_t, uint8_t); ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t) extern void pinMode(int pin, uint8_t mode); ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t) extern void pinMode(pin_t pin, uint8_t mode); ^ src/main.cpp:52:29: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous pinMode(shift_latch, OUTPUT); ^ In file included from src/main.cpp:1:0: /home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t) void pinMode(uint8_t, uint8_t); ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t) extern void pinMode(int pin, uint8_t mode); ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t) extern void pinMode(pin_t pin, uint8_t mode); ^ src/main.cpp:56:32: error: call of overloaded 'pinMode(const uint8_t&, int)' is ambiguous pinMode(keyboard_in[i], INPUT); ^ In file included from src/main.cpp:1:0: /home/nathan/.platformio/packages/framework-arduinoavr/cores/arduino/Arduino.h:133:6: note: candidate: void pinMode(uint8_t, uint8_t) void pinMode(uint8_t, uint8_t); ^ In file included from lib/MIDI_controller/src/./MIDI_Outputs/Analog.h:8:0, from lib/MIDI_controller/src/MIDI_Controller.h:14, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:13:13: note: candidate: void ExtIO::pinMode(int, uint8_t) extern void pinMode(int pin, uint8_t mode); ^ lib/MIDI_controller/src/./MIDI_Outputs/../ExtendedInputOutput/ExtendedInputOutput.h:12:13: note: candidate: void ExtIO::pinMode(pin_t, uint8_t) extern void pinMode(pin_t pin, uint8_t mode); ^ src/main.cpp: In function 'void loop()': src/main.cpp:91:6: error: 'val' was not declared in this scope if (val[2] >= 500) { ^ src/main.cpp: In function 'void scanLineOut(int)': src/main.cpp:118:15: error: 'latchPin' was not declared in this scope digitalWrite(latchPin, LOW); ^ src/main.cpp:121:12: error: 'dataPin' was not declared in this scope shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //right sr ^ src/main.cpp:121:21: error: 'clockPin' was not declared in this scope shiftOut(dataPin, clockPin, MSBFIRST, 0b00000000); //right sr ^ src/main.cpp:124:12: error: 'dataPin' was not declared in this scope shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum-8]); //right sr ^ src/main.cpp:124:21: error: 'clockPin' was not declared in this scope shiftOut(dataPin, clockPin, MSBFIRST, bits[colNum-8]); //right sr ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = Serial_]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:85:82: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:28:0, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:57:111: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:101:110: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = Serial_]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:85:82: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:29:0, from src/mainTest.cpp:3: lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:70:121: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h: In instantiation of 'SerialMIDI_Interface::SerialMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:101:110: required from here lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:51:23: warning: 'SerialMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:112: warning: base 'StreamMIDI_Interface' [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/SerialMIDI_Interface.h:43:3: warning: when initialized here [-Wreorder] SerialMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = Serial_]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:98:86: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:29:0, from src/main.cpp:2: lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = HardwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:70:121: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:107:120: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = Serial_]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:98:86: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h: In instantiation of 'SerialDebugMIDI_Interface::SerialDebugMIDI_Interface(T&, long unsigned int) [with T = SoftwareSerial]': lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:107:120: required from here lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:64:23: warning: 'SerialDebugMIDI_Interface::baud' will be initialized after [-Wreorder] const unsigned long baud; ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:122: warning: base 'StreamDebugMIDI_Interface' [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ lib/MIDI_controller/src/./MIDI_Interfaces/DebugMIDI_Interface.h:56:3: warning: when initialized here [-Wreorder] SerialDebugMIDI_Interface(T &serial, unsigned long baud) : serial(serial), baud(baud), StreamDebugMIDI_Interface(serial) {} ^ In file included from lib/MIDI_controller/src/MIDI_Controller.h:33:0, from src/main.cpp:2: lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h: In instantiation of 'AnalogMultiplex::AnalogMultiplex(pin_t, const pin_t (&)[N]) [with unsigned int N = 5u; pin_t = unsigned char]': src/main.cpp:27:46: required from here lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:45:32: warning: 'AnalogMultiplex::nb_addresses' will be initialized after [-Wreorder] const size_t nb_addressPins, nb_addresses; ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:18:33: warning: base 'ExtendedIOElement' [-Wreorder] ExtendedIOElement(1 << N) ^ lib/MIDI_controller/src/./ExtendedInputOutput/AnalogMultiplex.h:16:3: warning: when initialized here [-Wreorder] AnalogMultiplex(pin_t analogPin, const pin_t (&addressPins)[N]) ^ *** [.pioenvs/micro/src/main.cpp.o] Error 1 ============================================================================= [ERROR] Took 1.51 seconds =============================================================================