make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'C:/ProgettiXC18/02_Scrittura_di_Messaggio_e_una_Stringa.X' make -f nbproject/Makefile-default.mk dist/default/production/02_Scrittura_di_Messaggio_e_una_Stringa.X.production.hex make[2]: Entering directory 'C:/ProgettiXC18/02_Scrittura_di_Messaggio_e_una_Stringa.X' "C:\Program Files (x86)\Microchip\xc8\v2.10\bin\xc8-cc.exe" -mcpu=18F46K22 -c -fno-short-double -fno-short-float -memi=wordwrite -fasmfile -maddrqual=ignore -xassembler-with-cpp -I"../../LTlib_v_4.1.1/conf" -I"../../LTlib_v_4.1.1/inc" -I"../../LTlib_v_4.1.1/src" -mwarn=0 -mext=cci -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-download -mdefault-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto:auto -o build/default/production/main.p1 main.c In file included from main.c:3: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:3: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:91: ../../LTlib_v_4.1.1/conf/PIC18F46K22_config.h:210:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:3: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:9: ../../LTlib_v_4.1.1/src\module_I2C.c:568:10: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ 12 warnings generated. In file included from main.c:3: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:3: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:91: ../../LTlib_v_4.1.1/conf/PIC18F46K22_config.h:210:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:3: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: warning: redefinition of typedef 'port_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char port_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: note: previous definition is here typedef unsigned char port_size; ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: warning: redefinition of typedef 'register_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char register_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: note: previous definition is here typedef unsigned char register_size; ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:5: In file included from ../../LTlib_v_4.1.1/inc\LTlib_delay.h:62: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: warning: redefinition of typedef 'port_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char port_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: note: previous definition is here typedef unsigned char port_size; ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: warning: redefinition of typedef 'register_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char register_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: note: previous definition is here typedef unsigned char register_size; ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:8: In file included from ../../LTlib_v_4.1.1/inc\module_I2C.h:47: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:9: ../../LTlib_v_4.1.1/src\module_I2C.c:64:16: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSPSTAT |= I2C_SLEW_ON; ^ ../../LTlib_v_4.1.1/inc\module_I2C.h:61:28: note: expanded from macro 'I2C_SLEW_ON' #define I2C_SLEW_ON 0b00000000 ^ In file included from main.c:9: ../../LTlib_v_4.1.1/src\module_I2C.c:67:16: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSPCON1 |= 0b00100000; ^ ../../LTlib_v_4.1.1/src\module_I2C.c:93:17: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSP2STAT |= I2C_SLEW_ON; ^ ../../LTlib_v_4.1.1/inc\module_I2C.h:61:28: note: expanded from macro 'I2C_SLEW_ON' #define I2C_SLEW_ON 0b00000000 ^ In file included from main.c:9: ../../LTlib_v_4.1.1/src\module_I2C.c:96:17: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSP2CON1 |= 0b00100000; ^ ../../LTlib_v_4.1.1/src\module_I2C.c:108:16: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSPCON1 &= 0b11011111; ^ ../../LTlib_v_4.1.1/src\module_I2C.c:113:21: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] SSP2CON1 &= 0b11011111; ^ ../../LTlib_v_4.1.1/src\module_I2C.c:229:23: warning: while loop has empty body [-Wempty-body] I2C1_wait_bus_IDLE(); ^ ../../LTlib_v_4.1.1/src\module_I2C.c:229:23: note: put the semicolon on a separate line to silence this warning ../../LTlib_v_4.1.1/src\module_I2C.c:278:23: warning: while loop has empty body [-Wempty-body] I2C2_wait_bus_IDLE(); ^ ../../LTlib_v_4.1.1/src\module_I2C.c:278:23: note: put the semicolon on a separate line to silence this warning ../../LTlib_v_4.1.1/src\module_I2C.c:568:10: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: warning: redefinition of typedef 'port_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char port_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: note: previous definition is here typedef unsigned char port_size; ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: warning: redefinition of typedef 'register_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char register_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: note: previous definition is here typedef unsigned char register_size; ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:14: In file included from ../../LTlib_v_4.1.1/inc\PCF8574.h:63: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:15: ../../LTlib_v_4.1.1/src\PCF8574.c:48:22: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] PCF8574_I2C_open(I2C_MASTER); ^ ../../LTlib_v_4.1.1/inc\module_I2C.h:58:41: note: expanded from macro 'I2C_MASTER' #define I2C_MASTER 0b00001000 ^ In file included from main.c:15: ../../LTlib_v_4.1.1/src\PCF8574.c:96:29: warning: while loop has empty body [-Wempty-body] PCF8574_I2C_wait_bus_IDLE(); ^ ../../LTlib_v_4.1.1/src\PCF8574.c:96:29: note: put the semicolon on a separate line to silence this warning ../../LTlib_v_4.1.1/src\PCF8574.c:147:30: warning: while loop has empty body [-Wempty-body] PCF8574_I2C_wait_bus_IDLE (); ^ ../../LTlib_v_4.1.1/src\PCF8574.c:147:30: note: put the semicolon on a separate line to silence this warning In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: warning: redefinition of typedef 'port_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char port_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:40:23: note: previous definition is here typedef unsigned char port_size; ^ In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: warning: redefinition of typedef 'register_size' is a C11 feature [-Wtypedef-redefinition] typedef unsigned char register_size; ^ ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:23: note: previous definition is here typedef unsigned char register_size; ^ In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: In file included from ../../LTlib_v_4.1.1/conf\LTlib.h:40: ../../LTlib_v_4.1.1/inc\LTlib_type.h:42:37: warning: no newline at end of file [-Wnewline-eof] typedef unsigned char register_size; ^ In file included from main.c:17: In file included from ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:79: ../../LTlib_v_4.1.1/conf\LTlib.h:282:7: warning: no newline at end of file [-Wnewline-eof] #endif ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:50:30: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer | LCD_E; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:144:17: note: expanded from macro 'LCD_E' #define LCD_E 0b00010000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:57:9: warning: implicit declaration of function 'MCP2300x_set_port_value' is invalid in C99 [-Wimplicit-function-declaration] MCP2300x_set_port_value (I2C_device_address, data_buffer); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:63:31: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~LCD_E; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:144:17: note: expanded from macro 'LCD_E' #define LCD_E 0b00010000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:82:32: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~(LCD_D0 | LCD_D1 | LCD_D2 | LCD_D3); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:140:17: note: expanded from macro 'LCD_D0' #define LCD_D0 0b00000001 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:82:41: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~(LCD_D0 | LCD_D1 | LCD_D2 | LCD_D3); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:141:17: note: expanded from macro 'LCD_D1' #define LCD_D1 0b00000010 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:82:50: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~(LCD_D0 | LCD_D1 | LCD_D2 | LCD_D3); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:142:17: note: expanded from macro 'LCD_D2' #define LCD_D2 0b00000100 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:82:59: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~(LCD_D0 | LCD_D1 | LCD_D2 | LCD_D3); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:143:17: note: expanded from macro 'LCD_D3' #define LCD_D3 0b00001000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:85:24: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer |= LCD_D0; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:140:17: note: expanded from macro 'LCD_D0' #define LCD_D0 0b00000001 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:89:24: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer |= LCD_D1; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:141:17: note: expanded from macro 'LCD_D1' #define LCD_D1 0b00000010 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:93:24: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer |= LCD_D2; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:142:17: note: expanded from macro 'LCD_D2' #define LCD_D2 0b00000100 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:97:24: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer |= LCD_D3; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:143:17: note: expanded from macro 'LCD_D3' #define LCD_D3 0b00001000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:118:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:119:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000010); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:131:21: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000001); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:132:21: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00001000 | shift); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:145:21: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000001); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:146:21: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000 | shift); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:157:27: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] case 1: LCD_send_command(0b00001000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:158:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command(0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:161:27: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] case 2: LCD_send_command(0b00001100); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:162:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command(0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:165:27: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] case 3: LCD_send_command(0b00001001); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:166:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command(0b00000100); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:169:27: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] case 4: LCD_send_command(0b00001101); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:170:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command(0b00000100); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:181:23: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_shift_cursor (RIGHT, x-1); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:187:17: note: expanded from macro 'RIGHT' #define RIGHT 0b00000100 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:192:30: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer | LCD_RS; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:146:17: note: expanded from macro 'LCD_RS' #define LCD_RS 0b01000000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:212:31: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~LCD_RS; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:146:17: note: expanded from macro 'LCD_RS' #define LCD_RS 0b01000000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:277:13: warning: implicit declaration of function 'itoa' is invalid in C99 [-Wimplicit-function-declaration] itoa ((unsigned char*) convertedInt, value,10); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:309:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:310:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000001); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:318:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:319:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00001100 | active | blinking); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:328:31: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] data_buffer = data_buffer & ~LCD_TURN_ON_LED; ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:213:30: note: expanded from macro 'LCD_TURN_ON_LED' #define LCD_TURN_ON_LED LCD_LED ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:147:17: note: expanded from macro 'LCD_LED' #define LCD_LED 0b10000000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:362:9: warning: implicit declaration of function 'MCP2300x_initialize' is invalid in C99 [-Wimplicit-function-declaration] MCP2300x_initialize (50); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:364:9: warning: implicit declaration of function 'MCP2300x_set_port_direction' is invalid in C99 [-Wimplicit-function-declaration] MCP2300x_set_port_direction (I2C_device_address, 0x00); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:371:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000011); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:373:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000011); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:375:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000011); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:377:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000010); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:379:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000010); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:380:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00001000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:382:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:383:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00001000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:385:23: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:386:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000001); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:388:23: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000000); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:389:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_send_command (0b00000110); ^ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:391:14: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_cursor (LCD_TURN_OFF_CURSOR, LCD_BLINKING_OFF); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:194:29: note: expanded from macro 'LCD_TURN_OFF_CURSOR' #define LCD_TURN_OFF_CURSOR 0b00000000 ^ In file included from main.c:18: ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:391:35: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_cursor (LCD_TURN_OFF_CURSOR, LCD_BLINKING_OFF); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:199:26: note: expanded from macro 'LCD_BLINKING_OFF' #define LCD_BLINKING_OFF 0b00000000 ^ main.c:41:20: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] LCD_backlight (LCD_TURN_ON_LED); ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:213:30: note: expanded from macro 'LCD_TURN_ON_LED' #define LCD_TURN_ON_LED LCD_LED ^ ../../LTlib_v_4.1.1/inc\LCD_44780_I2C.h:147:17: note: expanded from macro 'LCD_LED' #define LCD_LED 0b10000000 ^ main.c:43:24: warning: passing 'char [14]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] LCD_write_message ("Hello World 1"); ^~~~~~~~~~~~~~~ ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:231:46: note: passing argument to parameter 'buffer' here void LCD_write_message (const unsigned char *buffer) { ^ main.c:74:13: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] TRISC = 0b11111101; ^ main.c:79:13: warning: binary integer literals are a GNU extension [-Wgnu-binary-literal] TRISD = 0b00000001; ^ 85 warnings generated. "C:\Program Files (x86)\Microchip\xc8\v2.10\bin\xc8-cc.exe" -mcpu=18F46K22 -Wl,-Map=dist/default/production/02_Scrittura_di_Messaggio_e_una_Stringa.X.production.map -DXPRJ_default=default -Wl,--defsym=__MPLAB_BUILD=1 -fno-short-double -fno-short-float -memi=wordwrite -fasmfile -maddrqual=ignore -xassembler-with-cpp -I"../../LTlib_v_4.1.1/conf" -I"../../LTlib_v_4.1.1/inc" -I"../../LTlib_v_4.1.1/src" -mwarn=0 -mext=cci -Wa,-a -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-download -mdefault-config-bits -std=c99 -gdwarf-3 -mstack=compiled:auto:auto:auto -Wl,--memorysummary,dist/default/production/memoryfile.xml -o dist/default/production/02_Scrittura_di_Messaggio_e_una_Stringa.X.production.elf build/default/production/main.p1 ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:57:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:57:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:70:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:70:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:106:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:106:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:199:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:199:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:219:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:219:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:277:: warning: (1518) direct function call made with an incomplete prototype (itoa) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:277:: warning: (1464) number of arguments passed to function "_itoa" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:338:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:338:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:362:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_initialize) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:362:: warning: (1464) number of arguments passed to function "_MCP2300x_initialize" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:364:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_direction) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:364:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_direction" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:366:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:366:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:397:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_initialize) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:397:: warning: (1464) number of arguments passed to function "_MCP2300x_initialize" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:399:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_direction) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:399:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_direction" does not match function's prototype ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:401:: warning: (1518) direct function call made with an incomplete prototype (MCP2300x_set_port_value) ../../LTlib_v_4.1.1/src\LCD_44780_I2C.c:401:: warning: (1464) number of arguments passed to function "_MCP2300x_set_port_value" does not match function's prototype :0:: error: (500) undefined symbols: _MCP2300x_set_port_direction(dist/default/production\02_Scrittura_di_Messaggio_e_una_Stringa.X.production.o) _MCP2300x_set_port_value(dist/default/production\02_Scrittura_di_Messaggio_e_una_Stringa.X.production.o) _MCP2300x_initialize(dist/default/production\02_Scrittura_di_Messaggio_e_una_Stringa.X.production.o) (908) exit status = 1 nbproject/Makefile-default.mk:138: recipe for target 'dist/default/production/02_Scrittura_di_Messaggio_e_una_Stringa.X.production.hex' failed make[2]: Leaving directory 'C:/ProgettiXC18/02_Scrittura_di_Messaggio_e_una_Stringa.X' nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed make[1]: Leaving directory 'C:/ProgettiXC18/02_Scrittura_di_Messaggio_e_una_Stringa.X' nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed make[2]: *** [dist/default/production/02_Scrittura_di_Messaggio_e_una_Stringa.X.production.hex] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 15s)