AmboVent-1690-108 / AmboVent

AmboVent 1690.108
The Unlicense
205 stars 69 forks source link

Resolve all warnings #27

Open ElectricRCAircraftGuy opened 4 years ago

ElectricRCAircraftGuy commented 4 years ago

I just built the latest (from my PR #20), and there are dozens of warnings to fix.

/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/arduino-builder -dump-prefs -logger=machine -hardware /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware -hardware /home/alexa/.arduino15/packages -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -tools /home/alexa/.arduino15/packages -built-in-libraries /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries -libraries /home/alexa/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path /tmp/arduino_build_472179 -warnings=all -build-cache /tmp/arduino_cache_729925 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -verbose /home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/arduino-builder -compile -logger=machine -hardware /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware -hardware /home/alexa/.arduino15/packages -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -tools /home/alexa/.arduino15/packages -built-in-libraries /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries -libraries /home/alexa/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path /tmp/arduino_build_472179 -warnings=all -build-cache /tmp/arduino_cache_729925 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -verbose /home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino
Using board 'nano' from platform in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr
Detecting libraries used...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/avr/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/megaavr/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/nrf52/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/sam/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/samd/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/stm32f4/Servo.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src/Wire.cpp
Using cached library dependencies for file: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src/utility/twi.c
Using cached library dependencies for file: /home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src/SparkFun_MS5803_I2C.cpp
Using cached library dependencies for file: /home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp
Using cached library dependencies for file: /home/alexa/Arduino/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp
Generating function prototypes...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /tmp/arduino_build_472179/preproc/ctags_target_for_gcc_minus_e.cpp
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_472179/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp.o
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void setup()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:200:18: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   if (min_arm_pos>=0 && min_arm_pos<1024 && max_arm_pos>=0 && max_arm_pos<1024) calibrated = 1;
                  ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:200:56: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   if (min_arm_pos>=0 && min_arm_pos<1024 && max_arm_pos>=0 && max_arm_pos<1024) calibrated = 1;
                                                        ^
In file included from /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp:1:0:
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void display_menu()':
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino/Arduino.h:95:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
 #define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
                                       ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:253:14: note: in expansion of macro 'constrain'
   menu_state=constrain(menu_state,0,8);
              ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:258:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       display_text_2_lines("Calibrate Pots","TEST to start");
                                                            ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:258:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:267:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       display_text_2_lines("Calib pressure","TEST to start");
                                                            ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:267:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:278:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         display_text_2_lines("Press TEST to","run one breath  ");
                                                                ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:278:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:293:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       display_text_2_lines("Calibrate Arm","TEST to start");
                                                           ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:293:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:302:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       display_text_2_lines("Set Motion Time","TEST to start ");
                                                              ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:302:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:328:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       if (patient_triggered_breath==1) display_text_2_lines("Sync to patient","ON  ");
                                                                                     ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:328:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:329:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       if (patient_triggered_breath==0) display_text_2_lines("Sync to patient","OFF  ");
                                                                                      ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:329:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:334:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         if (patient_triggered_breath==1) display_text_2_lines("Sync to patient","ON  ");
                                                                                       ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:334:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:335:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
         if (patient_triggered_breath==0) display_text_2_lines("Sync to patient","OFF  ");
                                                                                        ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:335:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:342:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
       display_text_2_lines("Exit Menu","Press TEST ");
                                                     ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:342:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void run_profile_func()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:400:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (millis()-start_wait < breath_cycle_time)
                               ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void calibrate_arm_range()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:623:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   display_text_calib ("Set Upper");
                                  ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:628:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   display_text_calib ("Set Lower");
                                  ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:633:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   display_text_calib ("Move to Safe");
                                     ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void calibrate_pot_range()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:656:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   display_text_calib ("Pot to left pos");
                                        ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:663:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   display_text_calib ("Pot to right pos");
                                         ^
Compiling libraries...
Compiling library "EEPROM"
Compiling library "Servo"
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/avr/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/megaavr/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/nrf52/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/sam/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/samd/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/stm32f4/Servo.cpp.o
Compiling library "Wire"
Using previously compiled file: /tmp/arduino_build_472179/libraries/Wire/Wire.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Wire/utility/twi.c.o
Compiling library "SparkFun_MS5803-14BA_Breakout_Arduino_Library-master"
Using previously compiled file: /tmp/arduino_build_472179/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/SparkFun_MS5803_I2C.cpp.o
Compiling library "Arduino-LiquidCrystal-I2C-library-master"
Using previously compiled file: /tmp/arduino_build_472179/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp.o
Compiling library "ArduinoUniqueID"
Using previously compiled file: /tmp/arduino_build_472179/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp.o
Compiling core...
Using precompiled core: /tmp/arduino_cache_729925/core/core_arduino_avr_nano_cpu_atmega328_9d1e8b75e2862a0ea003e5fe909dcaaa.a
Linking everything together...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp.o /tmp/arduino_build_472179/libraries/Servo/avr/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/megaavr/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/nrf52/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/sam/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/samd/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/stm32f4/Servo.cpp.o /tmp/arduino_build_472179/libraries/Wire/Wire.cpp.o /tmp/arduino_build_472179/libraries/Wire/utility/twi.c.o /tmp/arduino_build_472179/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/SparkFun_MS5803_I2C.cpp.o /tmp/arduino_build_472179/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp.o /tmp/arduino_build_472179/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp.o /tmp/arduino_build_472179/../arduino_cache_729925/core/core_arduino_avr_nano_cpu_atmega328_9d1e8b75e2862a0ea003e5fe909dcaaa.a -L/tmp/arduino_build_472179 -lm
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'set_motor_PWM':
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/ventilation_machine.ino.eep/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:720:58: warning: 'wanted_cal_PWM' may be used uninitialized in this function [-Wmaybe-uninitialized]

   if (calibON==1 ) wanted_vel_PWM=read_motion_for_calib();  // allows manual motion during calibration
                                                          ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:737:7: note: 'wanted_cal_PWM' was declared here
 { int wanted_cal_PWM;
       ^
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/ventilation_machine.ino.hex
Using library EEPROM at version 2.0 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM 
Using library Servo at version 1.1.3 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo 
Using library Wire at version 1.0 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire 
Using library SparkFun_MS5803-14BA_Breakout_Arduino_Library-master at version 1.1.2 in folder: /home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master 
Using library Arduino-LiquidCrystal-I2C-library-master in folder: /home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master (legacy)
Using library ArduinoUniqueID in folder: /home/alexa/Arduino/libraries/ArduinoUniqueID (legacy)
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-size -A /tmp/arduino_build_472179/ventilation_machine.ino.elf
Sketch uses 18412 bytes (59%) of program storage space. Maximum is 30720 bytes.
Global variables use 1046 bytes (51%) of dynamic memory, leaving 1002 bytes for local variables. Maximum is 2048 bytes.
nimrod46 commented 4 years ago

Fixed

ElectricRCAircraftGuy commented 4 years ago

I just built your latest changes. 6 warnings still remain. To see them all, ensure in Arduino IDE you set File --> Preferences --> "Compiler warnings" to "All".

/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/arduino-builder -dump-prefs -logger=machine -hardware /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware -hardware /home/alexa/.arduino15/packages -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -tools /home/alexa/.arduino15/packages -built-in-libraries /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries -libraries /home/alexa/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path /tmp/arduino_build_472179 -warnings=all -build-cache /tmp/arduino_cache_729925 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -verbose /home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/arduino-builder -compile -logger=machine -hardware /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware -hardware /home/alexa/.arduino15/packages -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder -tools /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -tools /home/alexa/.arduino15/packages -built-in-libraries /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries -libraries /home/alexa/Arduino/libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10808 -build-path /tmp/arduino_build_472179 -warnings=all -build-cache /tmp/arduino_cache_729925 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr -verbose /home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino
Using board 'nano' from platform in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr
Using core 'arduino' from platform in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr
Detecting libraries used...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/avr/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/megaavr/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/nrf52/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/sam/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/samd/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src/stm32f4/Servo.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src/Wire.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src/utility/twi.c -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src/SparkFun_MS5803_I2C.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp -o /dev/null
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp -o /dev/null
Generating function prototypes...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /tmp/arduino_build_472179/preproc/ctags_target_for_gcc_minus_e.cpp
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_472179/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp -o /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp.o
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void setup()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:200:18: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   if (min_arm_pos>=0 && min_arm_pos<1024 && max_arm_pos>=0 && max_arm_pos<1024) calibrated = 1;
                  ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:200:56: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
   if (min_arm_pos>=0 && min_arm_pos<1024 && max_arm_pos>=0 && max_arm_pos<1024) calibrated = 1;
                                                        ^
In file included from /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp:1:0:
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void display_menu()':
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino/Arduino.h:95:39: warning: comparison is always false due to limited range of data type [-Wtype-limits]
 #define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
                                       ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:253:14: note: in expansion of macro 'constrain'
   menu_state=constrain(menu_state,0,8);
              ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'void run_profile_func()':
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:400:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (millis()-start_wait < breath_cycle_time)
                               ^
Compiling libraries...
Compiling library "EEPROM"
Compiling library "Servo"
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/avr/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/megaavr/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/nrf52/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/sam/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/samd/Servo.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Servo/stm32f4/Servo.cpp.o
Compiling library "Wire"
Using previously compiled file: /tmp/arduino_build_472179/libraries/Wire/Wire.cpp.o
Using previously compiled file: /tmp/arduino_build_472179/libraries/Wire/utility/twi.c.o
Compiling library "SparkFun_MS5803-14BA_Breakout_Arduino_Library-master"
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src/SparkFun_MS5803_I2C.cpp -o /tmp/arduino_build_472179/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/SparkFun_MS5803_I2C.cpp.o
Compiling library "Arduino-LiquidCrystal-I2C-library-master"
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp -o /tmp/arduino_build_472179/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp.o
Compiling library "ArduinoUniqueID"
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/cores/arduino -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/variants/eightanaloginputs -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo/src -I/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire/src -I/home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/src -I/home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master -I/home/alexa/Arduino/libraries/ArduinoUniqueID /home/alexa/Arduino/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp -o /tmp/arduino_build_472179/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp.o
Compiling core...
Using precompiled core: /tmp/arduino_cache_729925/core/core_arduino_avr_nano_cpu_atmega328_9d1e8b75e2862a0ea003e5fe909dcaaa.a
Linking everything together...
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-gcc -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/sketch/ventilation_machine.ino.cpp.o /tmp/arduino_build_472179/libraries/Servo/avr/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/megaavr/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/nrf52/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/sam/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/samd/Servo.cpp.o /tmp/arduino_build_472179/libraries/Servo/stm32f4/Servo.cpp.o /tmp/arduino_build_472179/libraries/Wire/Wire.cpp.o /tmp/arduino_build_472179/libraries/Wire/utility/twi.c.o /tmp/arduino_build_472179/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master/SparkFun_MS5803_I2C.cpp.o /tmp/arduino_build_472179/libraries/Arduino-LiquidCrystal-I2C-library-master/LiquidCrystal_I2C.cpp.o /tmp/arduino_build_472179/libraries/ArduinoUniqueID/ArduinoUniqueID.cpp.o /tmp/arduino_build_472179/../arduino_cache_729925/core/core_arduino_avr_nano_cpu_atmega328_9d1e8b75e2862a0ea003e5fe909dcaaa.a -L/tmp/arduino_build_472179 -lm
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino: In function 'set_motor_PWM':
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/ventilation_machine.ino.eep
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:720:58: warning: 'wanted_cal_PWM' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (calibON==1 ) wanted_vel_PWM=read_motion_for_calib();  // allows manual motion during calibration
                                                          ^
/home/alexa/dev/AmboVent/AmboVent/3-Software/Arduino/ventilation_machine/ventilation_machine.ino:737:7: note: 'wanted_cal_PWM' was declared here
 { int wanted_cal_PWM;
       ^
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /tmp/arduino_build_472179/ventilation_machine.ino.elf /tmp/arduino_build_472179/ventilation_machine.ino.hex
Using library EEPROM at version 2.0 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/EEPROM 
Using library Servo at version 1.1.3 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/libraries/Servo 
Using library Wire at version 1.0 in folder: /home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/arduino/avr/libraries/Wire 
Using library SparkFun_MS5803-14BA_Breakout_Arduino_Library-master at version 1.1.2 in folder: /home/alexa/Arduino/libraries/SparkFun_MS5803-14BA_Breakout_Arduino_Library-master 
Using library Arduino-LiquidCrystal-I2C-library-master in folder: /home/alexa/Arduino/libraries/Arduino-LiquidCrystal-I2C-library-master (legacy)
Using library ArduinoUniqueID in folder: /home/alexa/Arduino/libraries/ArduinoUniqueID (legacy)
/home/alexa/Downloads/Install_files/Arduino/arduino-1.8.8/hardware/tools/avr/bin/avr-size -A /tmp/arduino_build_472179/ventilation_machine.ino.elf
Sketch uses 18412 bytes (59%) of program storage space. Maximum is 30720 bytes.
Global variables use 1046 bytes (51%) of dynamic memory, leaving 1002 bytes for local variables. Maximum is 2048 bytes.
ElectricRCAircraftGuy commented 4 years ago

On medical (or any safety-critical) equipment, generally zero warnings are allowed with the compiler using its strictest settings.