Cleaning up all build generated files Compiling FATFileSystem/ff.c Compiling FATFileSystem/option/ccsbcs.c Compiling NetServices/drv/usb/usb_mem.c Compiling NetServices/lwip/core/def.c Compiling NetServices/lwip/core/dhcp.c NetServices/lwip/core/dhcp.c: In function 'dhcp_handle_nak': NetServices/lwip/core/dhcp.c:191:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:192:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:193:28: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_select': NetServices/lwip/core/dhcp.c:302:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:316:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_set_struct': NetServices/lwip/core/dhcp.c:585:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:586:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:587:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_start': NetServices/lwip/core/dhcp.c:649:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:650:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:664:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:665:26: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_inform': NetServices/lwip/core/dhcp.c:713:24: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:727:36: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_decline': NetServices/lwip/core/dhcp.c:826:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_discover': NetServices/lwip/core/dhcp.c:876:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_bind': NetServices/lwip/core/dhcp.c:958:7: warning: the comparison will always evaluate as 'false' for the address of 'gw_addr' will never be NULL [-Waddress] NetServices/lwip/core/dhcp.c: In function 'dhcp_renew': NetServices/lwip/core/dhcp.c:1012:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_rebind': NetServices/lwip/core/dhcp.c:1075:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1097:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_reboot': NetServices/lwip/core/dhcp.c:1138:43: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_release': NetServices/lwip/core/dhcp.c:1197:27: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:1198:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c:1199:28: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dhcp.c: In function 'dhcp_stop': NetServices/lwip/core/dhcp.c:1232:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_option': NetServices/lwip/core/dhcp.c:1260:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_option_byte': NetServices/lwip/core/dhcp.c:1271:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_option_short': NetServices/lwip/core/dhcp.c:1278:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_option_long': NetServices/lwip/core/dhcp.c:1286:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_parse_reply': NetServices/lwip/core/dhcp.c:1370:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1375:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1380:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1383:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1387:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1391:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1395:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1399:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1403:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1407:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1420:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1421:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1426:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1436:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_recv': NetServices/lwip/core/dhcp.c:1513:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_create_msg': NetServices/lwip/core/dhcp.c:1620:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1621:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1628:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_delete_msg': NetServices/lwip/core/dhcp.c:1692:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1693:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_option_trailer': NetServices/lwip/core/dhcp.c:1713:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1714:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c:1719:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dhcp.c: In function 'dhcp_create_msg': NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c:1663:71: warning: array subscript is above array bounds [-Warray-bounds] NetServices/lwip/core/dhcp.c: In function 'dhcp_recv': NetServices/lwip/core/dhcp.c:567:9: warning: array subscript is above array bounds [-Warray-bounds] Compiling NetServices/lwip/core/dns.c NetServices/lwip/core/dns.c: In function 'dns_init': NetServices/lwip/core/dns.c:250:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dns.c:254:25: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dns.c: In function 'dns_getserver': NetServices/lwip/core/dns.c:294:13: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/dns.c: In function 'dns_send': NetServices/lwip/core/dns.c:572:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dns.c:573:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dns.c:579:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dns.c: In function 'dns_check_entry': NetServices/lwip/core/dns.c:641:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/dns.c:709:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/init.c Compiling NetServices/lwip/core/mem.c NetServices/lwip/core/mem.c:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/lwip/core/mem.c: In function 'plug_holes': NetServices/lwip/core/mem.c:239:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:240:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:241:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:244:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c: In function 'mem_init': NetServices/lwip/core/mem.c:276:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:298:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c: In function 'mem_free': NetServices/lwip/core/mem.c:318:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:320:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:337:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c: In function 'mem_trim': NetServices/lwip/core/mem.c:388:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:406:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c: In function 'mem_malloc': NetServices/lwip/core/mem.c:594:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:598:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:600:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c:602:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/mem.c: At top level: NetServices/lwip/core/mem.c:194:20: warning: 'mem_mutex' defined but not used [-Wunused-variable] Compiling NetServices/lwip/core/memp.c NetServices/lwip/core/memp.c: In function 'memp_malloc': NetServices/lwip/core/memp.c:414:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/memp.c: In function 'memp_free': NetServices/lwip/core/memp.c:442:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/netif.c NetServices/lwip/core/netif.c: In function 'netif_add': NetServices/lwip/core/netif.c:142:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/pbuf.c NetServices/lwip/core/pbuf.c: In function 'pbuf_alloc': NetServices/lwip/core/pbuf.c:210:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:228:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:234:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:237:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:264:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:269:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:271:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:296:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:318:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_alloced_custom': NetServices/lwip/core/pbuf.c:368:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_realloc': NetServices/lwip/core/pbuf.c:413:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:414:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:437:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:441:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:451:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_header': NetServices/lwip/core/pbuf.c:494:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:548:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_free': NetServices/lwip/core/pbuf.c:602:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:612:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:627:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:641:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_cat': NetServices/lwip/core/pbuf.c:735:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:736:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_dechain': NetServices/lwip/core/pbuf.c:789:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:806:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_copy': NetServices/lwip/core/pbuf.c:843:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:855:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:861:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_take': NetServices/lwip/core/pbuf.c:959:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c:966:5: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/pbuf.c:970:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_coalesce': NetServices/lwip/core/pbuf.c:1000:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/pbuf.c: In function 'pbuf_memcmp': NetServices/lwip/core/pbuf.c:1096:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Compiling NetServices/lwip/core/raw.c Compiling NetServices/lwip/core/stats.c Compiling NetServices/lwip/core/sys.c Compiling NetServices/lwip/core/tcp.c NetServices/lwip/core/tcp.c: In function 'tcp_close_shutdown': NetServices/lwip/core/tcp.c:146:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c: In function 'tcp_abandon': NetServices/lwip/core/tcp.c:327:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c: In function 'tcp_update_rcv_ann_wnd': NetServices/lwip/core/tcp.c:556:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c: In function 'tcp_recved': NetServices/lwip/core/tcp.c:576:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c: In function 'tcp_slowtmr': NetServices/lwip/core/tcp.c:766:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:767:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:768:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:907:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:911:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:948:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:963:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:967:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c: In function 'tcp_pcb_remove': NetServices/lwip/core/tcp.c:1442:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:1443:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:1445:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp.c:1451:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/tcp_in.c NetServices/lwip/core/tcp_in.c: In function 'tcp_input': NetServices/lwip/core/tcp_in.c:183:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:184:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:185:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:194:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:200:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:210:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:424:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c: In function 'tcp_process': NetServices/lwip/core/tcp_in.c:595:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:647:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:687:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c: In function 'tcp_receive': NetServices/lwip/core/tcp_in.c:997:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1008:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1042:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1051:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1144:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1145:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1147:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1160:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1165:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1212:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1261:15: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1272:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1308:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_in.c:1455:21: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/tcp_out.c NetServices/lwip/core/tcp_out.c: In function 'tcp_output_alloc_header': NetServices/lwip/core/tcp_out.c:98:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_pbuf_prealloc': NetServices/lwip/core/tcp_out.c:257:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_write_checks': NetServices/lwip/core/tcp_out.c:326:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:329:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_write': NetServices/lwip/core/tcp_out.c:445:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:453:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:481:9: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/tcp_out.c:499:29: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/tcp_out.c:507:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:535:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:537:7: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/tcp_out.c:546:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:557:21: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/tcp_out.c:595:22: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/tcp_out.c:603:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:648:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:681:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:702:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_enqueue_flags': NetServices/lwip/core/tcp_out.c:729:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:767:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:776:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c:811:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_output': NetServices/lwip/core/tcp_out.c:958:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_output_segment': NetServices/lwip/core/tcp_out.c:1075:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/tcp_out.c: In function 'tcp_rst': NetServices/lwip/core/tcp_out.c:1214:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/timers.c NetServices/lwip/core/timers.c: In function 'sys_timeout': NetServices/lwip/core/timers.c:272:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/udp.c NetServices/lwip/core/udp.c: In function 'udp_input': NetServices/lwip/core/udp.c:271:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/udp.c:346:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/udp.c: In function 'udp_sendto_if': NetServices/lwip/core/udp.c:534:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/udp.c: In function 'udp_bind': NetServices/lwip/core/udp.c:714:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/netif/etharp.c NetServices/lwip/netif/etharp.c: In function 'find_entry': NetServices/lwip/netif/etharp.c:287:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c:381:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c:385:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c:386:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'etharp_send_ip': NetServices/lwip/netif/etharp.c:416:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'update_arp_entry': NetServices/lwip/netif/etharp.c:448:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'etharp_find_addr': NetServices/lwip/netif/etharp.c:586:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'etharp_arp_input': NetServices/lwip/netif/etharp.c:764:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'etharp_output': NetServices/lwip/netif/etharp.c:857:12: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/netif/etharp.c: In function 'etharp_query': NetServices/lwip/netif/etharp.c:978:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c:998:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'etharp_raw': NetServices/lwip/netif/etharp.c:1121:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c:1129:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/netif/etharp.c: In function 'ethernet_input': NetServices/lwip/netif/etharp.c:1245:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/netif/ethernetif.c Compiling NetServices/lwip/netif/slipif.c Compiling NetServices/services/mysql/mycrypt.c Compiling NetServices/services/mysql/sha1.c NetServices/services/mysql/sha1.c: In function 'sha1_update': NetServices/services/mysql/sha1.c:253:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/services/mysql/sha1.c:270:17: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/services/mysql/sha1.c: In function 'sha1_finish': NetServices/services/mysql/sha1.c:301:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] Compiling NetServices/lwip/core/ipv4/autoip.c Compiling NetServices/lwip/core/ipv4/icmp.c NetServices/lwip/core/ipv4/icmp.c: In function 'icmp_input': NetServices/lwip/core/ipv4/icmp.c:152:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c:161:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c:165:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c:171:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c:181:9: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c:214:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/icmp.c: In function 'icmp_send_response': NetServices/lwip/core/ipv4/icmp.c:302:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/ipv4/igmp.c NetServices/lwip/core/ipv4/igmp.c:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/lwip/core/ipv4/igmp.c: In function 'igmp_send': NetServices/lwip/core/ipv4/igmp.c:779:23: warning: cast discards '__attribute__((const))' qualifier from pointer target type [-Wcast-qual] NetServices/lwip/core/ipv4/igmp.c:787:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/igmp.c: At top level: NetServices/lwip/core/ipv4/igmp.c:716:1: warning: 'igmp_stop_timer' defined but not used [-Wunused-function] Compiling NetServices/lwip/core/ipv4/inet.c Compiling NetServices/lwip/core/ipv4/inet_chksum.c NetServices/lwip/core/ipv4/inet_chksum.c: In function 'lwip_standard_chksum': NetServices/lwip/core/ipv4/inet_chksum.c:205:8: warning: cast increases required alignment of target type [-Wcast-align] NetServices/lwip/core/ipv4/inet_chksum.c:212:8: warning: cast increases required alignment of target type [-Wcast-align] NetServices/lwip/core/ipv4/inet_chksum.c: In function 'inet_chksum_pseudo_partial': NetServices/lwip/core/ipv4/inet_chksum.c:354:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/ipv4/ip.c NetServices/lwip/core/ipv4/ip.c: In function 'ip_input': NetServices/lwip/core/ipv4/ip.c:403:24: warning: the comparison will always evaluate as 'false' for the address of 'current_iphdr_src' will never be NULL [-Waddress] NetServices/lwip/core/ipv4/ip.c: In function 'ip_output_if_opt': NetServices/lwip/core/ipv4/ip.c:599:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip.c:644:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip.c: In function 'ip_output': NetServices/lwip/core/ipv4/ip.c:755:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/ipv4/ip_addr.c NetServices/lwip/core/ipv4/ip_addr.c: In function 'ipaddr_aton': NetServices/lwip/core/ipv4/ip_addr.c:243:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/ipv4/ip_frag.c NetServices/lwip/core/ipv4/ip_frag.c: In function 'ip_reass_free_complete_datagram': NetServices/lwip/core/ipv4/ip_frag.c:165:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:167:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:182:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:198:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:204:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c: In function 'ip_reass_dequeue_datagram': NetServices/lwip/core/ipv4/ip_frag.c:313:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c: In function 'ip_reass_chain_frag_into_datagram_and_validate': NetServices/lwip/core/ipv4/ip_frag.c:347:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:403:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:411:7: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:444:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:445:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:447:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:449:11: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c: In function 'ip_frag_free_pbuf_custom_ref': NetServices/lwip/core/ipv4/ip_frag.c:633:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c: In function 'ipfrag_free_pbuf_custom': NetServices/lwip/core/ipv4/ip_frag.c:643:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c:644:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/lwip/core/ipv4/ip_frag.c: In function 'ip_frag': NetServices/lwip/core/ipv4/ip_frag.c:763:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/lwip/core/snmp/asn1_dec.c Compiling NetServices/lwip/core/snmp/asn1_enc.c Compiling NetServices/lwip/core/snmp/mib2.c Compiling NetServices/lwip/core/snmp/mib_structs.c Compiling NetServices/lwip/core/snmp/msg_in.c Compiling NetServices/lwip/core/snmp/msg_out.c Compiling NetServices/lwip/netif/ppp/auth.c Compiling NetServices/lwip/netif/ppp/chap.c Compiling NetServices/lwip/netif/ppp/chpms.c Compiling NetServices/lwip/netif/ppp/fsm.c Compiling NetServices/lwip/netif/ppp/ipcp.c Compiling NetServices/lwip/netif/ppp/lcp.c Compiling NetServices/lwip/netif/ppp/magic.c Compiling NetServices/lwip/netif/ppp/md5.c Compiling NetServices/lwip/netif/ppp/pap.c Compiling NetServices/lwip/netif/ppp/ppp.c Compiling NetServices/lwip/netif/ppp/ppp_oe.c Compiling NetServices/lwip/netif/ppp/randm.c Compiling NetServices/lwip/netif/ppp/vj.c Compiling global.cpp global.cpp: In constructor 'GlobalConfig::GlobalConfig(char*)': global.cpp:68:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:68:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:70:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:70:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:72:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:72:61: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:74:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:74:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:76:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:77:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:80:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:81:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:82:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:83:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:84:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:87:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:88:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:89:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:90:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:91:48: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:94:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:95:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:96:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:97:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:99:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:100:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:101:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:102:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:104:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:105:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:106:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:107:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:111:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:112:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:113:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:114:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:117:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:118:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:119:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:120:41: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:123:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:124:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:125:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:126:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:129:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:130:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:131:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:132:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:135:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:136:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:137:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:138:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:139:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:140:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:141:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:142:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:145:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:146:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:147:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:148:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] global.cpp:149:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Compiling main.cpp In file included from main.cpp:52:0: ./LaosMenu/LaosMenu.h:33:28: warning: redundant redeclaration of 'void mbed_reset()' in same scope [-Wredundant-decls] In file included from global.h:27:0, from main.cpp:48: ./LaosDisplay/LaosDisplay.h:28:17: warning: previous declaration of 'void mbed_reset()' [-Wredundant-decls] main.cpp:88:71: warning: redundant redeclaration of 'void plan_get_current_position_xyz(float*, float*, float*)' in same scope [-Wredundant-decls] In file included from main.cpp:52:0: ./LaosMenu/LaosMenu.h:45:13: warning: previous declaration of 'void plan_get_current_position_xyz(float*, float*, float*)' [-Wredundant-decls] main.cpp:90:28: warning: redundant redeclaration of 'void mbed_reset()' in same scope [-Wredundant-decls] In file included from main.cpp:52:0: ./LaosMenu/LaosMenu.h:33:17: warning: previous declaration of 'void mbed_reset()' [-Wredundant-decls] main.cpp: In function 'int main()': main.cpp:107:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:107:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:110:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:118:26: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:125:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:127:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:128:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:140:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:141:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:157:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:160:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:172:22: warning: passing NULL to non-pointer argument 1 of 'void LaosMenu::SetScreen(int)' [-Wconversion-null] main.cpp: In function 'void main_nodisplay()': main.cpp:190:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:197:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:202:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp: In function 'void GetFile()': main.cpp:257:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:263:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:266:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:269:44: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:272:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] main.cpp:277:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Compiling ConfigFile/ConfigFile.cpp ConfigFile/ConfigFile.cpp: In constructor 'ConfigFile::ConfigFile(char*)': ConfigFile/ConfigFile.cpp:31:28: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] ConfigFile/ConfigFile.cpp: In member function 'bool ConfigFile::Value(char*, char*, size_t, char*)': ConfigFile/ConfigFile.cpp:97:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ConfigFile/ConfigFile.cpp:103:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ConfigFile/ConfigFile.cpp: In member function 'bool ConfigFile::Value(char*, int*, int)': ConfigFile/ConfigFile.cpp:135:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] Compiling FATFileSystem/FATDirHandle.cpp Compiling FATFileSystem/FATFileHandle.cpp Compiling FATFileSystem/FATFileSystem.cpp Compiling FATFileSystem/diskio.cpp FATFileSystem/diskio.cpp: In function 'DRESULT disk_write(BYTE, const BYTE*, DWORD, BYTE)': FATFileSystem/diskio.cpp:61:57: warning: cast from type 'const BYTE* {aka const unsigned char*}' to type 'char*' casts away qualifiers [-Wcast-qual] Compiling LaosDisplay/LaosDisplay.cpp Compiling LaosFile/laosfilesystem.cpp LaosFile/laosfilesystem.cpp: In member function 'int LaosFileSystem::isshortname(char*)': LaosFile/laosfilesystem.cpp:111:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosFile/laosfilesystem.cpp: In member function 'void LaosFileSystem::removespaces(char*)': LaosFile/laosfilesystem.cpp:134:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosFile/laosfilesystem.cpp:137:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosFile/laosfilesystem.cpp: In member function 'size_t LaosFileSystem::dirwrite(char*, char*, FILE*)': LaosFile/laosfilesystem.cpp:272:53: warning: operation on 'x' may be undefined [-Wsequence-point] LaosFile/laosfilesystem.cpp:275:79: warning: operation on 'x' may be undefined [-Wsequence-point] LaosFile/laosfilesystem.cpp: In function 'void writefile(char*)': LaosFile/laosfilesystem.cpp:444:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosFile/laosfilesystem.cpp: In function 'void strtolower(char*)': LaosFile/laosfilesystem.cpp:509:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosFile/laosfilesystem.cpp: In function 'void installFirmware(char*)': LaosFile/laosfilesystem.cpp:529:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosFile/laosfilesystem.cpp: In function 'int SDcheckFirmware()': LaosFile/laosfilesystem.cpp:560:27: warning: unused variable 'sd' [-Wunused-variable] Compiling LaosIO/LaosIO.cpp Compiling LaosMenu/LaosMenu.cpp In file included from LaosMenu/LaosMenu.cpp:23:0: LaosMenu/LaosMenu.h:33:28: warning: redundant redeclaration of 'void mbed_reset()' in same scope [-Wredundant-decls] In file included from ./global.h:27:0, from LaosMenu/LaosMenu.h:30, from LaosMenu/LaosMenu.cpp:23: ./LaosDisplay/LaosDisplay.h:28:17: warning: previous declaration of 'void mbed_reset()' [-Wredundant-decls] LaosMenu/LaosMenu.cpp: In constructor 'LaosMenu::LaosMenu(LaosDisplay*)': LaosMenu/LaosMenu.cpp:138:19: warning: passing NULL to non-pointer argument 1 of 'void LaosMenu::SetScreen(int)' [-Wconversion-null] LaosMenu/LaosMenu.cpp: In member function 'void LaosMenu::Handle()': LaosMenu/LaosMenu.cpp:211:1: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] LaosMenu/LaosMenu.cpp:227:41: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] LaosMenu/LaosMenu.cpp:343:47: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] LaosMenu/LaosMenu.cpp:404:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosMenu/LaosMenu.cpp:184:21: warning: unused variable 'cnt' [-Wunused-variable] LaosMenu/LaosMenu.cpp:293:17: warning: 'zt' may be used uninitialized in this function [-Wuninitialized] Compiling LaosMotion/LaosMotion.cpp LaosMotion/LaosMotion.cpp: In member function 'void LaosMotion::write(int)': LaosMotion/LaosMotion.cpp:347:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Compiling LaosMotion/pins.cpp Compiling LaosServer/EthConfig.cpp Compiling LaosFile/SDFileSystem/SDFileSystem.cpp Compiling LaosMotion/grbl/fixedpt.cpp Compiling LaosMotion/grbl/planner.cpp LaosMotion/grbl/planner.cpp: In function 'void planner_reverse_pass()': LaosMotion/grbl/planner.cpp:174:3: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] LaosMotion/grbl/planner.cpp: In function 'void plan_buffer_line(tActionRequest*)': LaosMotion/grbl/planner.cpp:417:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosMotion/grbl/planner.cpp:362:8: warning: variable 'e_only' set but not used [-Wunused-but-set-variable] LaosMotion/grbl/planner.cpp: In function 'void plan_set_current_position(tTarget*)': LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 5 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 4 has type 'int32_t {aka long int}' [-Wformat] LaosMotion/grbl/planner.cpp:676:112: warning: format '%d' expects argument of type 'int', but argument 5 has type 'int32_t {aka long int}' [-Wformat] Compiling LaosMotion/grbl/stepper.cpp LaosMotion/grbl/stepper.cpp: In function 'void st_init()': LaosMotion/grbl/stepper.cpp:128:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint32_t {aka long unsigned int}' [-Wformat] LaosMotion/grbl/stepper.cpp:128:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint32_t {aka long unsigned int}' [-Wformat] LaosMotion/grbl/stepper.cpp:134:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'tFixedPt {aka long int}' [-Wformat] LaosMotion/grbl/stepper.cpp:134:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'tFixedPt {aka long int}' [-Wformat] LaosMotion/grbl/stepper.cpp:134:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'tFixedPt {aka long int}' [-Wformat] LaosMotion/grbl/stepper.cpp:134:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'tFixedPt {aka long int}' [-Wformat] LaosMotion/grbl/stepper.cpp: In function 'void st_interrupt()': LaosMotion/grbl/stepper.cpp:398:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] LaosMotion/grbl/stepper.cpp: At global scope: LaosMotion/grbl/stepper.cpp:72:17: warning: 'nominal_rate' defined but not used [-Wunused-variable] LaosMotion/grbl/stepper.cpp:83:17: warning: 'trapezoid_adjusted_rate' defined but not used [-Wunused-variable] Compiling LaosServer/TFTPServer/TFTPServer.cpp LaosServer/TFTPServer/TFTPServer.cpp: In member function 'void TFTPServer::reset()': LaosServer/TFTPServer/TFTPServer.cpp:62:25: warning: zero-length gnu_printf format string [-Wformat-zero-length] LaosServer/TFTPServer/TFTPServer.cpp:62:25: warning: zero-length gnu_printf format string [-Wformat-zero-length] LaosServer/TFTPServer/TFTPServer.cpp: In member function 'void TFTPServer::ConnectRead(char*, Host*)': LaosServer/TFTPServer/TFTPServer.cpp:104:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:108:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp: In member function 'void TFTPServer::ConnectWrite(char*, Host*)': LaosServer/TFTPServer/TFTPServer.cpp:136:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:138:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp: In member function 'void TFTPServer::cleanUp()': LaosServer/TFTPServer/TFTPServer.cpp:230:12: warning: enumeration value 'listen' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp:230:12: warning: enumeration value 'error' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp:230:12: warning: enumeration value 'suspended' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp:230:12: warning: enumeration value 'deleted' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp: In member function 'void TFTPServer::onListenUDPSocketEvent(UDPSocketEvent)': LaosServer/TFTPServer/TFTPServer.cpp:267:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:273:64: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:276:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:279:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:287:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:261:25: warning: unused variable 'len' [-Wunused-variable] LaosServer/TFTPServer/TFTPServer.cpp:293:28: warning: unused variable 'len' [-Wunused-variable] LaosServer/TFTPServer/TFTPServer.cpp:372:72: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:396:82: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:399:78: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:406:81: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] LaosServer/TFTPServer/TFTPServer.cpp:405:25: warning: unused variable 'len' [-Wunused-variable] LaosServer/TFTPServer/TFTPServer.cpp:259:16: warning: enumeration value 'error' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp:259:16: warning: enumeration value 'deleted' not handled in switch [-Wswitch] LaosServer/TFTPServer/TFTPServer.cpp:255:27: warning: unused variable 'sd' [-Wunused-variable] Compiling NetServices/api/DNSRequest.cpp Compiling NetServices/api/TCPSocket.cpp Compiling NetServices/api/UDPSocket.cpp Compiling NetServices/core/ipaddr.cpp NetServices/core/ipaddr.cpp: In constructor 'IpAddr::IpAddr(ip_addr_t*)': NetServices/core/ipaddr.cpp:35:16: warning: cast from 'uint8_t* {aka unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:35:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/core/ipaddr.cpp: In member function 'ip_addr_t IpAddr::getStruct() const': NetServices/core/ipaddr.cpp:63:33: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] NetServices/core/ipaddr.cpp:63:33: warning: cast from 'const uint8_t* {aka const unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:63:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/core/ipaddr.cpp: In member function 'bool IpAddr::isEq(const IpAddr&) const': NetServices/core/ipaddr.cpp:78:24: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] NetServices/core/ipaddr.cpp:78:24: warning: cast from 'const uint8_t* {aka const unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:78:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/core/ipaddr.cpp:78:53: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] NetServices/core/ipaddr.cpp:78:53: warning: cast from 'const uint8_t* {aka const unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:78:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/core/ipaddr.cpp: In member function 'bool IpAddr::isNull() const': NetServices/core/ipaddr.cpp:93:24: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] NetServices/core/ipaddr.cpp:93:24: warning: cast from 'const uint8_t* {aka const unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:93:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/core/ipaddr.cpp: In member function 'bool IpAddr::isBroadcast() const': NetServices/core/ipaddr.cpp:98:24: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka long unsigned int*}' casts away qualifiers [-Wcast-qual] NetServices/core/ipaddr.cpp:98:24: warning: cast from 'const uint8_t* {aka const unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/core/ipaddr.cpp:98:28: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Compiling NetServices/core/net.cpp Compiling NetServices/core/netservice.cpp NetServices/core/netservice.cpp: In destructor 'virtual NetService::~NetService()': NetServices/core/netservice.cpp:44:55: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/dbg/dbg.cpp Compiling NetServices/drv/at/ATIf.cpp Compiling NetServices/drv/eth/eth_drv.cpp NetServices/drv/eth/eth_drv.cpp: In function 'err_t eth_init(netif*)': NetServices/drv/eth/eth_drv.cpp:164:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] Compiling NetServices/drv/gprs/GPRSModem.cpp Compiling NetServices/drv/gprsmodule/TelitModule.cpp Compiling NetServices/drv/umtsstick/UMTSStick.cpp Compiling NetServices/drv/umtsstick/UMTSStickData.cpp Compiling NetServices/drv/usb/UsbDevice.cpp Compiling NetServices/drv/usb/UsbEndpoint.cpp Compiling NetServices/drv/usb/UsbHostMgr.cpp Compiling NetServices/if/eth/EthernetNetIf.cpp NetServices/if/eth/EthernetNetIf.cpp:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/if/eth/EthernetNetIf.cpp: In member function 'EthernetErr EthernetNetIf::setup(int)': NetServices/if/eth/EthernetNetIf.cpp:114:32: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] Compiling NetServices/if/gprsmodule/GPRSModuleNetIf.cpp Compiling NetServices/if/gprsmodule/HuaweiGTM900NetIf.cpp Compiling NetServices/if/gprsmodule/TelitModuleNetIf.cpp Compiling NetServices/if/lwip/LwipNetIf.cpp Compiling NetServices/if/lwip/lwipNetDnsRequest.cpp Compiling NetServices/if/lwip/lwipNetTcpSocket.cpp NetServices/if/lwip/lwipNetTcpSocket.cpp: In constructor 'LwipNetTcpSocket::LwipNetTcpSocket(tcp_pcb*)': NetServices/if/lwip/lwipNetTcpSocket.cpp:45:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:47:26: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:48:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:49:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual NetTcpSocketErr LwipNetTcpSocket::bind(const Host&)': NetServices/if/lwip/lwipNetTcpSocket.cpp:68:36: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:68:44: warning: cast from type 'const ip_addr_t* {aka const ip_addr*}' to type 'ip_addr_t* {aka ip_addr*}' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual NetTcpSocketErr LwipNetTcpSocket::listen()': NetServices/if/lwip/lwipNetTcpSocket.cpp:91:56: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:97:26: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual NetTcpSocketErr LwipNetTcpSocket::connect(const Host&)': NetServices/if/lwip/lwipNetTcpSocket.cpp:108:39: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual NetTcpSocketErr LwipNetTcpSocket::accept(Host*, NetTcpSocket**)': NetServices/if/lwip/lwipNetTcpSocket.cpp:125:3: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:125:3: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NetServices/if/lwip/lwipNetTcpSocket.cpp:143:82: warning: cast from type 'volatile ip_addr_t* {aka volatile ip_addr*}' to type 'ip_addr_t* {aka ip_addr*}' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual int LwipNetTcpSocket::send(const char*, int)': NetServices/if/lwip/lwipNetTcpSocket.cpp:176:16: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:176:16: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:178:37: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:178:53: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual int LwipNetTcpSocket::recv(char*, int)': NetServices/if/lwip/lwipNetTcpSocket.cpp:238:24: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:244:24: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'virtual NetTcpSocketErr LwipNetTcpSocket::close()': NetServices/if/lwip/lwipNetTcpSocket.cpp:271:31: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:274:27: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 's8_t LwipNetTcpSocket::recvCb(tcp_pcb*, pbuf*, s8_t)': NetServices/if/lwip/lwipNetTcpSocket.cpp:384:21: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp: In member function 'void LwipNetTcpSocket::cleanUp()': NetServices/if/lwip/lwipNetTcpSocket.cpp:396:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:397:26: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:398:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:399:25: warning: cast from type 'volatile tcp_pcb*' to type 'tcp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetTcpSocket.cpp:405:22: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] Compiling NetServices/if/lwip/lwipNetUdpSocket.cpp NetServices/if/lwip/lwipNetUdpSocket.cpp:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/if/lwip/lwipNetUdpSocket.cpp: In constructor 'LwipNetUdpSocket::LwipNetUdpSocket(udp_pcb*)': NetServices/if/lwip/lwipNetUdpSocket.cpp:44:26: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'virtual NetUdpSocketErr LwipNetUdpSocket::bind(const Host&)': NetServices/if/lwip/lwipNetUdpSocket.cpp:66:26: warning: cast from type 'const ip_addr_t* {aka const ip_addr*}' to type 'ip_addr_t* {aka ip_addr*}' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:72:30: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:72:38: warning: cast from type 'const ip_addr_t* {aka const ip_addr*}' to type 'ip_addr_t* {aka ip_addr*}' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:77:24: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'virtual int LwipNetUdpSocket::sendto(const char*, int, Host*)': NetServices/if/lwip/lwipNetUdpSocket.cpp:92:24: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:102:38: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'virtual int LwipNetUdpSocket::recvfrom(char*, int, Host*)': NetServices/if/lwip/lwipNetUdpSocket.cpp:123:41: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'virtual NetUdpSocketErr LwipNetUdpSocket::close()': NetServices/if/lwip/lwipNetUdpSocket.cpp:194:26: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'void LwipNetUdpSocket::recvCb(udp_pcb*, pbuf*, ip_addr_t*, uint16_t)': NetServices/if/lwip/lwipNetUdpSocket.cpp:217:34: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp: In member function 'void LwipNetUdpSocket::cleanUp()': NetServices/if/lwip/lwipNetUdpSocket.cpp:238:26: warning: cast from type 'volatile udp_pcb*' to type 'udp_pcb*' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:246:21: warning: cast from type 'const ip_addr_t* {aka const ip_addr*}' to type 'ip_addr_t* {aka ip_addr*}' casts away qualifiers [-Wcast-qual] NetServices/if/lwip/lwipNetUdpSocket.cpp:255:33: warning: cast from type 'volatile pbuf*' to type 'pbuf*' casts away qualifiers [-Wcast-qual] Compiling NetServices/if/net/netdnsrequest.cpp NetServices/if/net/netdnsrequest.cpp: In constructor 'NetDnsRequest::NetDnsRequest(Host*)': NetServices/if/net/netdnsrequest.cpp:35:39: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] Compiling NetServices/if/net/netif.cpp Compiling NetServices/if/net/nettcpsocket.cpp Compiling NetServices/if/net/netudpsocket.cpp Compiling NetServices/if/ppp/PPPNetIf.cpp Compiling NetServices/if/umtsstick/UMTSStickNetIf.cpp Compiling NetServices/lwip/arch/sys_arch.cpp Compiling NetServices/services/email/EmailMessage.cpp Compiling NetServices/services/mysql/MySQLClient.cpp NetServices/services/mysql/MySQLClient.cpp:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/services/mysql/MySQLClient.cpp: In member function 'MySQLResult MySQLClient::sql(std::string&)': NetServices/services/mysql/MySQLClient.cpp:97:49: warning: cast from type 'const char*' to type 'byte* {aka unsigned char*}' casts away qualifiers [-Wcast-qual] NetServices/services/mysql/MySQLClient.cpp: In member function 'void MySQLClient::sendAuth()': NetServices/services/mysql/MySQLClient.cpp:241:49: warning: cast from 'byte* {aka unsigned char*}' to 'uint16_t* {aka short unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/services/mysql/MySQLClient.cpp:255:32: warning: cast from type 'const char*' to type 'byte* {aka unsigned char*}' casts away qualifiers [-Wcast-qual] NetServices/services/mysql/MySQLClient.cpp:271:24: warning: cast from 'byte* {aka unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/services/mysql/MySQLClient.cpp:272:24: warning: cast from 'byte* {aka unsigned char*}' to 'uint32_t* {aka long unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/services/mysql/MySQLClient.cpp:241:12: warning: unused variable 'serverFlags' [-Wunused-variable] NetServices/services/mysql/MySQLClient.cpp: In member function 'void MySQLClient::readData()': NetServices/services/mysql/MySQLClient.cpp:406:31: warning: cast from 'byte* {aka unsigned char*}' to 'uint16_t* {aka short unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/services/mysql/MySQLClient.cpp:406:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/services/mysql/MySQLClient.cpp: In member function 'void MySQLClient::writeData()': NetServices/services/mysql/MySQLClient.cpp:427:23: warning: cast from 'byte* {aka unsigned char*}' to 'uint16_t* {aka short unsigned int*}' increases required alignment of target type [-Wcast-align] NetServices/services/mysql/MySQLClient.cpp:427:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] NetServices/services/mysql/MySQLClient.cpp: In member function 'void MySQLClient::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/mysql/MySQLClient.cpp:452:9: warning: enumeration value 'TCPSOCKET_ACCEPT' not handled in switch [-Wswitch] Compiling NetServices/services/ntp/NTPClient.cpp NetServices/services/ntp/NTPClient.cpp:1:0: warning: ignoring #pragma diag_remark [-Wunknown-pragmas] NetServices/services/ntp/NTPClient.cpp: In member function 'void NTPClient::process()': NetServices/services/ntp/NTPClient.cpp:179:20: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] NetServices/services/ntp/NTPClient.cpp:179:20: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] NetServices/services/ntp/NTPClient.cpp:179:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] NetServices/services/ntp/NTPClient.cpp:179:20: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] NetServices/services/ntp/NTPClient.cpp:194:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] NetServices/services/ntp/NTPClient.cpp:203:82: warning: suggest parentheses around assignment used as truth value [-Wparentheses] NetServices/services/ntp/NTPClient.cpp:219:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Compiling NetServices/drv/serial/buf/SerialBuf.cpp Compiling NetServices/drv/serial/lwip/sio.cpp Compiling NetServices/drv/serial/lwip/sioMgr.cpp Compiling NetServices/drv/serial/usb/UsbSerial.cpp Compiling NetServices/services/email/smtp/SMTPClient.cpp NetServices/services/email/smtp/SMTPClient.cpp: In member function 'void SMTPClient::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/email/smtp/SMTPClient.cpp:199:12: warning: enumeration value 'TCPSOCKET_CONNECTED' not handled in switch [-Wswitch] NetServices/services/email/smtp/SMTPClient.cpp:199:12: warning: enumeration value 'TCPSOCKET_ACCEPT' not handled in switch [-Wswitch] NetServices/services/email/smtp/SMTPClient.cpp: In member function 'void SMTPClient::process(bool)': NetServices/services/email/smtp/SMTPClient.cpp:320:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NetServices/services/email/smtp/SMTPClient.cpp:323:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] NetServices/services/email/smtp/SMTPClient.cpp:380:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] NetServices/services/email/smtp/SMTPClient.cpp:409:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] NetServices/services/email/smtp/SMTPClient.cpp:311:12: warning: enumeration value 'SMTP_CLOSED' not handled in switch [-Wswitch] Compiling NetServices/services/http/client/HTTPClient.cpp In file included from NetServices/services/http/client/HTTPClient.cpp:27:0: NetServices/services/http/client/../util/url.h: In static member function 'static std::string Url::encode(const string&)': NetServices/services/http/client/../util/url.h:50:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/client/../util/url.h: In static member function 'static std::string Url::decode(const string&)': NetServices/services/http/client/../util/url.h:58:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/client/HTTPClient.cpp: In member function 'void HTTPClient::doPost(const char*, const HTTPData&, HTTPData*)': NetServices/services/http/client/HTTPClient.cpp:126:27: warning: cast from type 'const HTTPData*' to type 'HTTPData*' casts away qualifiers [-Wcast-qual] NetServices/services/http/client/HTTPClient.cpp: In member function 'void HTTPClient::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/http/client/HTTPClient.cpp:546:11: warning: enumeration value 'HTTP_READ_HEADERS' not handled in switch [-Wswitch] NetServices/services/http/client/HTTPClient.cpp:546:11: warning: enumeration value 'HTTP_READ_DATA' not handled in switch [-Wswitch] NetServices/services/http/client/HTTPClient.cpp:546:11: warning: enumeration value 'HTTP_READ_DATA_INCOMPLETE' not handled in switch [-Wswitch] NetServices/services/http/client/HTTPClient.cpp:546:11: warning: enumeration value 'HTTP_DONE' not handled in switch [-Wswitch] NetServices/services/http/client/HTTPClient.cpp:546:11: warning: enumeration value 'HTTP_CLOSED' not handled in switch [-Wswitch] NetServices/services/http/client/HTTPClient.cpp:493:9: warning: enumeration value 'TCPSOCKET_ACCEPT' not handled in switch [-Wswitch] Compiling NetServices/services/http/client/HTTPData.cpp Compiling NetServices/services/http/server/HTTPRequestDispatcher.cpp NetServices/services/http/server/HTTPRequestDispatcher.cpp: In member function 'void HTTPRequestDispatcher::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/http/server/HTTPRequestDispatcher.cpp:214:9: warning: enumeration value 'TCPSOCKET_CONNECTED' not handled in switch [-Wswitch] NetServices/services/http/server/HTTPRequestDispatcher.cpp:214:9: warning: enumeration value 'TCPSOCKET_ACCEPT' not handled in switch [-Wswitch] NetServices/services/http/server/HTTPRequestDispatcher.cpp:214:9: warning: enumeration value 'TCPSOCKET_WRITEABLE' not handled in switch [-Wswitch] Compiling NetServices/services/http/server/HTTPRequestHandler.cpp NetServices/services/http/server/HTTPRequestHandler.cpp: In member function 'void HTTPRequestHandler::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/http/server/HTTPRequestHandler.cpp:217:9: warning: enumeration value 'TCPSOCKET_CONNECTED' not handled in switch [-Wswitch] NetServices/services/http/server/HTTPRequestHandler.cpp:217:9: warning: enumeration value 'TCPSOCKET_ACCEPT' not handled in switch [-Wswitch] Compiling NetServices/services/http/server/HTTPServer.cpp NetServices/services/http/server/HTTPServer.cpp: In member function 'void HTTPServer::onTCPSocketEvent(TCPSocketEvent)': NetServices/services/http/server/HTTPServer.cpp:72:28: warning: unused variable 'pDispatcher' [-Wunused-variable] Compiling NetServices/services/http/util/base64.cpp NetServices/services/http/util/base64.cpp: In function 'void base64enc(const char*, unsigned int, char*)': NetServices/services/http/util/base64.cpp:41:55: warning: cast from type 'const char*' to type 'unsigned char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/util/base64.cpp:42:70: warning: cast from type 'const char*' to type 'unsigned char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/util/base64.cpp:43:70: warning: cast from type 'const char*' to type 'unsigned char*' casts away qualifiers [-Wcast-qual] Compiling NetServices/services/http/util/url.cpp In file included from NetServices/services/http/util/url.cpp:24:0: NetServices/services/http/util/url.h: In static member function 'static std::string Url::encode(const string&)': NetServices/services/http/util/url.h:50:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/util/url.h: In static member function 'static std::string Url::decode(const string&)': NetServices/services/http/util/url.h:58:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] Compiling NetServices/services/http/util/urlencode.cpp In file included from NetServices/services/http/util/urlencode.cpp:24:0: NetServices/services/http/util/url.h: In static member function 'static std::string Url::encode(const string&)': NetServices/services/http/util/url.h:50:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] NetServices/services/http/util/url.h: In static member function 'static std::string Url::decode(const string&)': NetServices/services/http/util/url.h:58:49: warning: cast from type 'const char*' to type 'char*' casts away qualifiers [-Wcast-qual] Compiling ../../gcc4mbed/src/gcc4mbed.c Linking laos.elf Extracting laos.hex Extracting laos.bin Extracting disassembly to LPC176x/laos.disasm text data bss dec hex filename 127304 320 22680 150304 24b20 laos.elf