Warning in arduino , ignore them or how to correct them

Thread Starter

Vindhyachal Takniki

Joined Nov 3, 2014
589
1. I am using Arduino 1.8.1 & made a code in it. Board it Atemga2560 R3

2. I had made multiple .ino files in it & multiple headers in it. It has total 16 .ino files & 18 header files, where each .ino has its own header file plus two additional & from setup.ino rest all .ino file functions are called.

3. I know arduino is not meant for that, but i have experience in using multiple c files in other IDE. In this project I had to interface fingerprint sensor, so instead of writing new library I had used Adafruit library for that purpose, which is main reason for selection of arduino at first place, otherwise i have to write complete new library on a new microcontroller.

4. Code built was 674 bytes (8%) of dynamic memory & 22428 bytes (8%) of program storage space.

5. Upon build below is verbose generated. It has no error, but warning in two files: One is fingerprint library & other is eeprom library of internal arduino.
Fingerprint warning does not seem to be of much error & can be ignored but i dont understand these eeprom error.
Problem is in arduino on clicking error, it wont open that file.
Should i ignore these warnings? In general i prefer code with 0 error 0 warnings.

6. Also any GOOD reference library codes for fingerprint module to be written in c for any microcontroller.



Code:
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\LiquidCrystal\LiquidCrystal.cpp.o"
Compiling library "Adafruit-Fingerprint-Sensor-Library-master"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp.o"
C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'boolean Adafruit_Fingerprint::verifyPassword()':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:58:36: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 24)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 24), (thePassword >> 16),

                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:58:57: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 16)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 24), (thePassword >> 16),

                                                         ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:59:36: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 8)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 8), thePassword};

                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:59:54: warning: narrowing conversion of '((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 8), thePassword};

                                                      ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::storeModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:109:51: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

   uint8_t packet[] = {FINGERPRINT_STORE, 0x01, id >> 8, id & 0xFF};

                                                   ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:109:60: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

   uint8_t packet[] = {FINGERPRINT_STORE, 0x01, id >> 8, id & 0xFF};

                                                            ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::loadModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:120:52: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_LOAD, 0x01, id >> 8, id & 0xFF};

                                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:120:61: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_LOAD, 0x01, id >> 8, id & 0xFF};

                                                             ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::deleteModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:141:48: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_DELETE, id >> 8, id & 0xFF, 0x00, 0x01};

                                                ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:141:57: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_DELETE, id >> 8, id & 0xFF, 0x00, 0x01};

                                                         ^


Code:
"C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp.o"
In file included from C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\eeprom.h:12:0,

                 from C:\Users\abc\Desktop\V19_minor\setup\eeprom.ino:5:

C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const uint8_t() const       { return **this; }

                              ^

C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const int() const          { return index; }

                          ^
 

Thread Starter

Vindhyachal Takniki

Joined Nov 3, 2014
589
Full build verbose


Code:
C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\abc\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\abc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\abc\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10801 -build-path C:\Users\abc\AppData\Local\Temp\arduino_build_868020 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\abc\Desktop\V19_minor\setup\setup.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\abc\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\abc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\abc\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10801 -build-path C:\Users\abc\AppData\Local\Temp\arduino_build_868020 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\abc\Desktop\V19_minor\setup\setup.ino
Using board 'mega' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\Documents\Arduino\libraries\TimerOne-master\TimerOne.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp" -o "nul"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp.o"
In file included from C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\eeprom.h:12:0,

                 from C:\Users\abc\Desktop\V19_minor\setup\eeprom.ino:5:

C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const uint8_t() const       { return **this; }

                              ^

C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

     operator const int() const          { return index; }

                          ^

Compiling libraries...
Compiling library "TimerOne-master"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\abc\Documents\Arduino\libraries\TimerOne-master\TimerOne.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\TimerOne-master\TimerOne.cpp.o"
Compiling library "LiquidCrystal"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\LiquidCrystal\src\LiquidCrystal.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\LiquidCrystal\LiquidCrystal.cpp.o"
Compiling library "Adafruit-Fingerprint-Sensor-Library-master"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp.o"
C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'boolean Adafruit_Fingerprint::verifyPassword()':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:58:36: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 24)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 24), (thePassword >> 16),

                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:58:57: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 16)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 24), (thePassword >> 16),

                                                         ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:59:36: warning: narrowing conversion of '(((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword >> 8)' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 8), thePassword};

                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:59:54: warning: narrowing conversion of '((Adafruit_Fingerprint*)this)->Adafruit_Fingerprint::thePassword' from 'uint32_t {aka long unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

                       (thePassword >> 8), thePassword};

                                                      ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::storeModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:109:51: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

   uint8_t packet[] = {FINGERPRINT_STORE, 0x01, id >> 8, id & 0xFF};

                                                   ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:109:60: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

   uint8_t packet[] = {FINGERPRINT_STORE, 0x01, id >> 8, id & 0xFF};

                                                            ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::loadModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:120:52: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_LOAD, 0x01, id >> 8, id & 0xFF};

                                                    ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:120:61: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_LOAD, 0x01, id >> 8, id & 0xFF};

                                                             ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp: In member function 'uint8_t Adafruit_Fingerprint::deleteModel(uint16_t)':

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:141:48: warning: narrowing conversion of '(id >> 8)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_DELETE, id >> 8, id & 0xFF, 0x00, 0x01};

                                                ^

C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp:141:57: warning: narrowing conversion of '(id & 255u)' from 'uint16_t {aka unsigned int}' to 'uint8_t {aka unsigned char}' inside { } [-Wnarrowing]

     uint8_t packet[] = {FINGERPRINT_DELETE, id >> 8, id & 0xFF, 0x00, 0x01};

                                                         ^

Compiling library "SoftwareSerial"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "-IC:\Users\abc\Documents\Arduino\libraries\TimerOne-master" "-IC:\Program Files\Arduino\libraries\LiquidCrystal\src" "-IC:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM\src" "C:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\SoftwareSerial\SoftwareSerial.cpp.o"
Compiling library "EEPROM"
Compiling core...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_pulse.S.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WInterrupts.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\hooks.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\hooks.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_analog.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_analog.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_digital.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_digital.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_pulse.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\wiring_shift.c" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_shift.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\CDC.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\CDC.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial0.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial0.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial1.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial1.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial2.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial2.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\HardwareSerial3.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial3.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\IPAddress.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\IPAddress.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\PluggableUSB.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\PluggableUSB.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\Print.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Print.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\Stream.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Stream.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\Tone.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Tone.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\USBCore.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\USBCore.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\WMath.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WMath.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\WString.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WString.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\abi.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\abi.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\main.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\main.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega" "C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino\new.cpp" -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\new.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_pulse.S.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WInterrupts.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\hooks.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_analog.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_digital.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_pulse.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\wiring_shift.c.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\CDC.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial0.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial1.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial2.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\HardwareSerial3.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\IPAddress.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\PluggableUSB.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Print.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Stream.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\Tone.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\USBCore.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WMath.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\WString.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\abi.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\main.cpp.o"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc-ar" rcs  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\core.a" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\core\new.cpp.o"
Linking everything together...
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560  -o "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/setup.ino.elf" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\sketch\setup.ino.cpp.o" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\TimerOne-master\TimerOne.cpp.o" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\LiquidCrystal\LiquidCrystal.cpp.o" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\Adafruit-Fingerprint-Sensor-Library-master\Adafruit_Fingerprint.cpp.o" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/core\core.a" "-LC:\Users\abc\AppData\Local\Temp\arduino_build_868020" -lm
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/setup.ino.elf" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/setup.ino.eep"
"C:\Program Files\Arduino\hardware\tools\avr/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/setup.ino.elf" "C:\Users\abc\AppData\Local\Temp\arduino_build_868020/setup.ino.hex"
Multiple libraries were found for "TimerOne.h"
Used: C:\Users\abc\Documents\Arduino\libraries\TimerOne-master
Not used: C:\Program Files\Arduino\libraries\TimerOne-master
Using library TimerOne-master at version 1.1 in folder: C:\Users\abc\Documents\Arduino\libraries\TimerOne-master
Using library LiquidCrystal at version 1.0.5 in folder: C:\Program Files\Arduino\libraries\LiquidCrystal
Using library Adafruit-Fingerprint-Sensor-Library-master at version 1.0.3 in folder: C:\Program Files\Arduino\libraries\Adafruit-Fingerprint-Sensor-Library-master
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
Using library EEPROM at version 2.0 in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPROM
Sketch uses 22428 bytes (8%) of program storage space. Maximum is 253952 bytes.
Global variables use 674 bytes (8%) of dynamic memory, leaving 7518 bytes for local variables. Maximum is 8192 bytes.
 

bertus

Joined Apr 5, 2008
21,950
Hello,

I am not into programming, but the compiler is pointing you to unexpected characters using the ^ character.

unexpected_character.png

Bertus
 

JohnInTX

Joined Jun 26, 2012
4,670
The Arduino guys will be along shortly ;) but in the interim, yes, fix all of those warnings. My personal rule is that a compiler warning is a run-time error that hasn't happened yet.

It looks like the compiler is telling you that it has made some assumptions about how the data gets reduced in size from 32 to 8 bits and wants you to take a look at it. Type casting the data to the target size should suppress the error report but you still have to verify that your logic is correct.

Good luck!
 
Top