mich@mich-desktop:~/Repositories/Espruino (master)$ ESPRUINO_1V3=1 BARDNAME=1 make Generating platform configs Generating pin info Generating JS wrappers WRAPPERSOURCES = src/jswrap_pin.c src/jswrap_espruino.c src/jswrap_functions.c src/jswrap_modules.c src/jswrap_process.c src/jswrap_interactive.c src/jswrap_json.c src/jswrap_object.c src/jswrap_string.c src/jswrap_number.c src/jswrap_array.c src/jswrap_arraybuffer.c src/jswrap_serial.c src/jswrap_spi_i2c.c src/jswrap_onewire.c src/jswrap_waveform.c src/jswrap_io.c libs/jswrap_fat.c libs/jswrap_math.c libs/graphics/jswrap_graphics.c libs/network/http/jswrap_http.c libs/network/cc3000/jswrap_cc3000.c DEFINES = -DESPRUINO_1V3 -DUSE_FILESYSTEM -DUSE_MATH -DUSE_GRAPHICS -DUSE_NET -DUSE_CC3000 -DSEND_NON_BLOCKING -DUSB -DSTM32F1 -DARM -DFAKE_STDLIB -DSTM32 -DUSE_STDPERIPH_DRIVER=1 -DSTM32F103RC -DESPRUINOBOARD -DSTM32F10X_XL Generating pin info Generating linker scripts CC src/jslex.o CC src/jsvar.o CC src/jsutils.o CC src/jsparse.o src/jsvar.c: In function 'jsvFindChildFromString': src/jsvar.c:1430:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (*(int*)fastCheck==*(int*)child->varData.str && // speedy check of first 4 bytes ^ src/jsvar.c:1430:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] CC src/jspin.o CC src/jsinteractive.o src/jsinteractive.c: In function 'jsiDumpState': src/jsinteractive.c:1669:5: warning: passing argument 1 of 'jshGetMillisecondsFromTime' makes integer from pointer without a cast [enabled by default] jsiConsolePrintf(", %f);\n", jshGetMillisecondsFromTime(timerInterval)); ^ In file included from src/jsinteractive.h:18:0, from src/jsinteractive.c:15: src/jshardware.h:44:12: note: expected 'JsSysTime' but argument is of type 'struct JsVar *' JsVarFloat jshGetMillisecondsFromTime(JsSysTime time); ^ CC src/jsdevices.o CC src/jstimer.o src/jsdevices.c: In function 'jshSetFlowControlXON': src/jsdevices.c:321:40: warning: unused parameter 'device' [-Wunused-parameter] void jshSetFlowControlXON(IOEventFlags device, bool hostShouldTransmit) { ^ src/jsdevices.c:321:53: warning: unused parameter 'hostShouldTransmit' [-Wunused-parameter] void jshSetFlowControlXON(IOEventFlags device, bool hostShouldTransmit) { ^ CC gen/jswrapper.o CC libs/fat_sd/fattime.o CC libs/fat_sd/ff.o CC libs/fat_sd/option/unicode.o libs/fat_sd/ff.c: In function 'sync_fs': libs/fat_sd/ff.c:818:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_WORD(fs->win+BS_55AA, 0xAA55); ^ libs/fat_sd/ff.c:819:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_DWORD(fs->win+FSI_LeadSig, 0x41615252); ^ libs/fat_sd/ff.c:820:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_DWORD(fs->win+FSI_StrucSig, 0x61417272); ^ libs/fat_sd/ff.c:821:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_DWORD(fs->win+FSI_Free_Count, fs->free_clust); ^ libs/fat_sd/ff.c:822:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_DWORD(fs->win+FSI_Nxt_Free, fs->last_clust); ^ libs/fat_sd/ff.c: In function 'get_fat': libs/fat_sd/ff.c:881:30: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] wc |= fs->win[bc % SS(fs)] << 8; ^ libs/fat_sd/ff.c: In function 'put_fat': libs/fat_sd/ff.c:930:35: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] *p = (clst & 1) ? ((*p & 0x0F) | ((BYTE)val << 4)) : (BYTE)val; ^ libs/fat_sd/ff.c:936:54: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] *p = (clst & 1) ? (BYTE)(val >> 4) : ((*p & 0xF0) | ((BYTE)(val >> 8) & 0x0F)); ^ libs/fat_sd/ff.c: In function 'dir_next': libs/fat_sd/ff.c:1173:16: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] i = dp->index + 1; ^ libs/fat_sd/ff.c:1185:54: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] if (((i / (SS(dp->fs) / SZ_DIR)) & (dp->fs->csize - 1)) == 0) { /* Cluster changed? */ ^ libs/fat_sd/ff.c: In function 'cmp_lfn': libs/fat_sd/ff.c:1317:35: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] i = ((dir[LDIR_Ord] & ~LLE) - 1) * 13; /* Get offset in the LFN buffer */ ^ libs/fat_sd/ff.c: In function 'pick_lfn': libs/fat_sd/ff.c:1348:35: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] i = ((dir[LDIR_Ord] & 0x3F) - 1) * 13; /* Offset in the LFN buffer */ ^ libs/fat_sd/ff.c: In function 'fit_lfn': libs/fat_sd/ff.c:1388:16: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] i = (ord - 1) * 13; /* Get offset in the LFN buffer */ ^ libs/fat_sd/ff.c: In function 'gen_numname': libs/fat_sd/ff.c:1441:18: warning: conversion to 'BYTE' from 'UINT' may alter its value [-Wconversion] c = (seq % 16) + '0'; ^ libs/fat_sd/ff.c:1442:18: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] if (c > '9') c += 7; ^ libs/fat_sd/ff.c: In function 'sum_sfn': libs/fat_sd/ff.c:1476:35: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] do sum = (sum >> 1) + (sum << 7) + *dir++; while (--n); ^ libs/fat_sd/ff.c: In function 'dir_find': libs/fat_sd/ff.c:1520:9: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] c &= ~LLE; ord = c; /* LFN start order */ ^ libs/fat_sd/ff.c:1524:81: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] ord = (c == ord && sum == dir[LDIR_Chksum] && cmp_lfn(dp->lfn, dir)) ? ord - 1 : 0xFF; ^ libs/fat_sd/ff.c: In function 'dir_read': libs/fat_sd/ff.c:1576:8: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] c &= ~LLE; ord = c; ^ libs/fat_sd/ff.c:1580:81: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] ord = (c == ord && sum == dir[LDIR_Chksum] && pick_lfn(dp->lfn, dir)) ? ord - 1 : 0xFF; ^ libs/fat_sd/ff.c: In function 'get_fileinfo': libs/fat_sd/ff.c:1755:7: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] c += 0x20; /* To lower */ ^ gen/jswrapper.c:28:6: warning: multi-character character constant [-Wmultichar] #if( 'q\0\0\0' & 'q' ) ^ libs/fat_sd/ff.c: In function 'create_name': libs/fat_sd/ff.c:1830:17: warning: conversion to 'WCHAR' from 'int' may alter its value [-Wconversion] w = (w << 8) + b; /* Create a DBC */ ^ gen/jswrapper.c: In function 'jswHandleFunctionCall': gen/jswrapper.c:82:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'O','b','j','e') && CMP3(parent->varData.str[4],'c','t','\0')) { ^ gen/jswrapper.c:82:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gen/jswrapper.c:91:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'M','a','t','h') && parent->varData.str[4]=='\0') { ^ libs/fat_sd/ff.c:1866:8: warning: conversion to 'BYTE' from 'UINT' may alter its value [-Wconversion] b = i = 0; ni = 8; ^ libs/fat_sd/ff.c:1881:6: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] b <<= 2; continue; ^ libs/fat_sd/ff.c:1907:17: warning: conversion to 'WCHAR' from 'int' may alter its value [-Wconversion] b |= 1; w -= 0x20; ^ libs/fat_sd/ff.c:1917:17: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] if (ni == 8) b <<= 2; ^ libs/fat_sd/ff.c: In function 'get_ldnumber': gen/jswrapper.c:250:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'J','S','O','N') && parent->varData.str[4]=='\0') { ^ libs/fat_sd/ff.c:2089:14: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] i = *tp++ - '0'; ^ gen/jswrapper.c:265:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'h','t','t','p') && parent->varData.str[4]=='\0') { ^ libs/fat_sd/ff.c:2107:27: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] if (IsLower(tc)) tc -= 0x20; ^ libs/fat_sd/ff.c: In function 'check_fs': gen/jswrapper.c:291:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'I','n','t','e') && CMP4(parent->varData.str[4],'g','e','r','\0')) { ^ gen/jswrapper.c:291:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2144:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (LD_WORD(&fs->win[BS_55AA]) != 0xAA55) /* Check boot record signature (always placed at offset 510 even if the sector size is >512) */ ^ gen/jswrapper.c:300:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'S','t','r','i') && CMP3(parent->varData.str[4],'n','g','\0')) { ^ gen/jswrapper.c:300:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2147:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((LD_DWORD(&fs->win[BS_FilSysType]) & 0xFFFFFF) == 0x544146) /* Check "FAT" string */ ^ gen/jswrapper.c:308:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'A','r','r','a') && CMP2(parent->varData.str[4],'y','\0')) { ^ gen/jswrapper.c:308:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2149:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((LD_DWORD(&fs->win[BS_FilSysType32]) & 0xFFFFFF) == 0x544146) /* Check "FAT" string */ ^ gen/jswrapper.c:317:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'N','u','m','b') && CMP3(parent->varData.str[4],'e','r','\0')) { ^ gen/jswrapper.c:317:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c: In function 'find_volume': gen/jswrapper.c:342:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'M','o','d','u') && CMP4(parent->varData.str[4],'l','e','s','\0')) { ^ libs/fat_sd/ff.c:2235:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (LD_WORD(fs->win+BPB_BytsPerSec) != SS(fs)) /* (BPB_BytsPerSec must be equal to the physical sector size) */ ^ gen/jswrapper.c:342:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2238:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fasize = LD_WORD(fs->win+BPB_FATSz16); /* Number of sectors per FAT */ ^ gen/jswrapper.c:371:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'u','r','l','\0')) { ^ libs/fat_sd/ff.c:2239:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!fasize) fasize = LD_DWORD(fs->win+BPB_FATSz32); ^ gen/jswrapper.c:381:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'C','C','3','0') && CMP3(parent->varData.str[4],'0','0','\0')) { ^ gen/jswrapper.c:381:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2251:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fs->n_rootdir = LD_WORD(fs->win+BPB_RootEntCnt); /* Number of root directory entries */ ^ gen/jswrapper.c:389:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'D','o','u','b') && CMP3(parent->varData.str[4],'l','e','\0')) { ^ gen/jswrapper.c:389:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2255:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] tsect = LD_WORD(fs->win+BPB_TotSec16); /* Number of sectors on the volume */ ^ gen/jswrapper.c:393:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] JsVar *_r = jsvNewFromInteger(*(JsVarInt*)&x); ^ libs/fat_sd/ff.c:2256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (!tsect) tsect = LD_DWORD(fs->win+BPB_TotSec32); ^ libs/fat_sd/ff.c:2258:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] nrsv = LD_WORD(fs->win+BPB_RsvdSecCnt); /* Number of reserved sectors */ ^ libs/fat_sd/ff.c:2277:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fs->dirbase = LD_DWORD(fs->win+BPB_RootClus); /* Root directory start cluster */ ^ gen/jswrapper.c:502:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'c','o','n','s') && CMP4(parent->varData.str[4],'o','l','e','\0')) { ^ gen/jswrapper.c:502:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2296:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] && LD_WORD(fs->win+BPB_FSInfo) == 1 ^ gen/jswrapper.c:512:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'G','r','a','p') && CMP4(parent->varData.str[4],'h','i','c','s')) { ^ gen/jswrapper.c:512:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2300:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (LD_WORD(fs->win+BS_55AA) == 0xAA55 /* Load FSINFO data if available */ ^ gen/jswrapper.c:531:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(parent->varData.str[0],'p','r','o','c') && CMP4(parent->varData.str[4],'e','s','s','\0')) { ^ gen/jswrapper.c:531:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2301:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] && LD_DWORD(fs->win+FSI_LeadSig) == 0x41615252 ^ libs/fat_sd/ff.c:2302:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] && LD_DWORD(fs->win+FSI_StrucSig) == 0x61417272) ^ gen/jswrapper.c:549:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP3(parent->varData.str[0],'f','s','\0')) { ^ CC libs/fat_sd/spi_diskio.o libs/fat_sd/ff.c:2305:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fs->free_clust = LD_DWORD(fs->win+FSI_Free_Count); ^ libs/fat_sd/ff.c:2308:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] fs->last_clust = LD_DWORD(fs->win+FSI_Nxt_Free); ^ libs/fat_sd/ff.c: In function 'f_read': gen/jswrapper.c:707:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP2(parent->varData.str[0],'E','\0')) { ^ libs/fat_sd/ff.c:2576:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] csect = (BYTE)(fp->fptr / SS(fp->fs) & (fp->fs->csize - 1)); /* Sector offset in the cluster */ ^ gen/jswrapper.c:744:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (CMP4(constructorName->varData.str[0],'h','t','t','p') && CMP4(constructorName->varData.str[4],'C','R','q','\0')) { ^ CC libs/math/acosh.o gen/jswrapper.c:744:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:2598:25: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] cc = fp->fs->csize - csect; ^ gen/jswrapper.c:759:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'h','t','t','p') && CMP4(constructorName->varData.str[4],'S','R','s','\0')) { ^ gen/jswrapper.c:759:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] gen/jswrapper.c:783:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'G','r','a','p') && CMP4(constructorName->varData.str[4],'h','i','c','s')) { ^ libs/fat_sd/ff.c:2619:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/ff.c: In function 'f_write': libs/fat_sd/ff.c:2677:58: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] csect = (BYTE)(fp->fptr / SS(fp->fs) & (fp->fs->csize - 1)); /* Sector offset in the cluster */ ^ libs/fat_sd/ff.c:2703:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/ff.c:2712:25: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion] cc = fp->fs->csize - csect; ^ libs/fat_sd/ff.c:2724:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/ff.c: In function 'f_sync': libs/fat_sd/ff.c:2788:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/ff.c:2801:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__WRITTEN; ^ libs/fat_sd/ff.c: In function 'f_getcwd': libs/fat_sd/ff.c:2965:16: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] *tp++ = '0' + CurrVol; /* Put drive number */ ^ libs/fat_sd/ff.c: In function 'f_lseek': CC libs/math/asin.o gen/jswrapper.c:783:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:3124:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/ff.c: In function 'f_truncate': libs/fat_sd/spi_diskio.c: In function 'disk_initialize': libs/fat_sd/ff.c:3421:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] fp->flag &= ~FA__DIRTY; ^ libs/fat_sd/spi_diskio.c:373:8: warning: conversion to 'DSTATUS' from 'int' may alter its value [-Wconversion] Stat &= ~STA_NOINIT; /* Clear STA_NOINIT */ ^ gen/jswrapper.c:904:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'S','P','I','\0')) { ^ libs/fat_sd/spi_diskio.c: In function 'disk_ioctl': libs/fat_sd/spi_diskio.c:534:43: warning: conversion to 'WORD' from 'int' may alter its value [-Wconversion] csize = csd[9] + ((WORD)csd[8] << 8) + 1; ^ gen/jswrapper.c:938:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'h','t','t','p') && CMP4(constructorName->varData.str[4],'S','r','v','\0')) { ^ gen/jswrapper.c:938:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/spi_diskio.c:537:71: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion] n = (csd[5] & 15) + ((csd[10] & 128) >> 7) + ((csd[9] & 3) << 1) + 2; ^ libs/fat_sd/spi_diskio.c:538:79: warning: conversion to 'WORD' from 'int' may alter its value [-Wconversion] csize = (csd[8] >> 6) + ((WORD)csd[7] << 2) + ((WORD)(csd[6] & 3) << 10) + 1; ^ gen/jswrapper.c:946:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'S','e','r','i') && CMP3(constructorName->varData.str[4],'a','l','\0')) { ^ gen/jswrapper.c:946:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/spi_diskio.c:563:82: warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion] *(DWORD*)buff = (((csd[10] & 63) << 1) + ((WORD)(csd[11] & 128) >> 7) + 1) << ((csd[13] >> 6) - 1); ^ libs/fat_sd/spi_diskio.c:565:58: warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion] *(DWORD*)buff = ((WORD)((csd[10] & 124) >> 2) + 1) * (((csd[11] & 3) << 3) + ((csd[11] & 224) >> 5) + 1); ^ libs/fat_sd/ff.c: In function 'f_getlabel': gen/jswrapper.c:991:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'W','a','v','e') && CMP4(constructorName->varData.str[4],'f','o','r','m')) { ^ gen/jswrapper.c:991:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:3802:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *sn = LD_DWORD(&dj.fs->win[i]); ^ gen/jswrapper.c:1017:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'W','L','A','N') && constructorName->varData.str[4]=='\0') { ^ libs/fat_sd/ff.c: In function 'f_mkfs': gen/jswrapper.c:1044:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'O','n','e','W') && CMP4(constructorName->varData.str[4],'i','r','e','\0')) { ^ gen/jswrapper.c:1044:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libs/fat_sd/ff.c:4014:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (LD_WORD(fs->win+BS_55AA) != 0xAA55) return FR_MKFS_ABORTED; ^ gen/jswrapper.c:1084:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] } else if (CMP4(constructorName->varData.str[0],'I','2','C','\0')) { ^ libs/fat_sd/ff.c:4109:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ST_WORD(fs->win+BS_55AA, 0xAA55); /* MBR signature */ ^ libs/fat_sd/ff.c: In function 'f_printf': libs/fat_sd/ff.c:4532:21: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] if (IsLower(d)) d -= 0x20; ^ libs/fat_sd/ff.c:4567:17: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] if (d > 9) d += (c == 'x') ? 0x27 : 0x07; ^ libs/fat_sd/ff.c:4568:15: warning: conversion to 'TCHAR' from 'int' may alter its value [-Wconversion] s[i++] = d + '0'; ^ gen/jswrapper.c:38:52: warning: unused parameter 'parentName' [-Wunused-parameter] JsVar *jswHandleFunctionCall(JsVar *parent, JsVar *parentName, const char *name) { ^ libs/math/asin.c:97:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[6] = { ^ libs/math/asin.c:105:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[5] = { ^ libs/math/asin.c:173:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double R[5] = { ^ libs/math/asin.c:180:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double S[4] = { ^ libs/math/asin.c: In function 'asin': libs/math/asin.c:282:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] p = zz * polevl( zz, R, 4)/p1evl( zz, S, 4); ^ libs/math/asin.c:245:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/asin.c:282:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] p = zz * polevl( zz, R, 4)/p1evl( zz, S, 4); ^ libs/math/asin.c:246:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/asin.c:296:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = zz * polevl( zz, P, 5)/p1evl( zz, Q, 5); ^ libs/math/asin.c:245:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/asin.c:296:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] z = zz * polevl( zz, P, 5)/p1evl( zz, Q, 5); ^ libs/math/asin.c:246:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/acosh.c:57:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/acosh.c:64:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/acosh.c: In function 'acosh': libs/math/acosh.c:161:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] a = sqrt(z) * (polevl(z, P, 4) / p1evl(z, Q, 5) ); ^ libs/math/acosh.c:128:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/acosh.c:161:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] a = sqrt(z) * (polevl(z, P, 4) / p1evl(z, Q, 5) ); ^ libs/math/acosh.c:129:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/asinh.o libs/math/asinh.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/asinh.c:54:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/asinh.c: In function 'asinh': libs/math/asinh.c:156:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] a = ( polevl(z, P, 4)/p1evl(z, Q, 4) ) * z; ^ libs/math/asinh.c:114:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/asinh.c:156:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] a = ( polevl(z, P, 4)/p1evl(z, Q, 4) ) * z; ^ libs/math/asinh.c:115:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/atan.o libs/math/atan.c:82:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[5] = { ^ libs/math/atan.c:89:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[5] = { ^ libs/math/atan.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double T3P8 = 2.41421356237309504880; ^ libs/math/atan.c: In function 'atan': libs/math/atan.c:233:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = z * polevl( z, P, 4 ) / p1evl( z, Q, 5 ); ^ libs/math/atan.c:171:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/atan.c:233:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] z = z * polevl( z, P, 4 ) / p1evl( z, Q, 5 ); ^ libs/math/atan.c:172:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/atanh.o CC libs/math/cbrt.o libs/math/atanh.c:46:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/atanh.c:53:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/atanh.c: In function 'atanh': libs/math/atanh.c:151:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] s = x + x * z * (polevl(z, P, 4) / p1evl(z, Q, 5)); ^ libs/math/atanh.c:118:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double x, void *P, int N ); ^ libs/math/atanh.c:151:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] s = x + x * z * (polevl(z, P, 4) / p1evl(z, Q, 5)); ^ libs/math/atanh.c:119:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double x, void *P, int N ); ^ CC libs/math/chbevl.o libs/math/cbrt.c:46:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double CBRT2 = 1.2599210498948731647672; ^ libs/math/cbrt.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double CBRT4 = 1.5874010519681994747517; ^ libs/math/cbrt.c:48:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double CBRT2I = 0.79370052598409973737585; ^ libs/math/cbrt.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double CBRT4I = 0.62996052494743658238361; ^ CC libs/math/clog.o libs/math/clog.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double redupi ( double x ); ^ libs/math/clog.c:47:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double redupi ( double x ); ^ libs/math/clog.c:48:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double ctans ( cmplx *z ); ^ libs/math/clog.c:48:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double ctans ( cmplx *z ); ^ libs/math/clog.c:61:8: warning: conflicting types for built-in function 'cabs' [enabled by default] double cabs (cmplx *); ^ libs/math/clog.c:64:6: warning: conflicting types for built-in function 'csqrt' [enabled by default] void csqrt ( cmplx *, cmplx * ); ^ libs/math/clog.c:66:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double redupi ( double ); ^ libs/math/clog.c:66:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double redupi ( double ); ^ libs/math/clog.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double ctans ( cmplx * ); ^ libs/math/clog.c:67:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double ctans ( cmplx * ); ^ libs/math/clog.c:68:6: warning: conflicting types for built-in function 'clog' [enabled by default] void clog ( cmplx *, cmplx * ); ^ libs/math/clog.c:69:6: warning: conflicting types for built-in function 'casin' [enabled by default] void casin ( cmplx *, cmplx * ); ^ libs/math/clog.c:70:6: warning: conflicting types for built-in function 'cacos' [enabled by default] void cacos ( cmplx *, cmplx * ); ^ libs/math/clog.c:71:6: warning: conflicting types for built-in function 'catan' [enabled by default] void catan ( cmplx *, cmplx * ); ^ CC libs/math/cmplx.o libs/math/clog.c:142:6: warning: conflicting types for built-in function 'cexp' [enabled by default] void cexp( z, w ) ^ libs/math/clog.c:187:6: warning: conflicting types for built-in function 'csin' [enabled by default] void csin( z, w ) ^ libs/math/clog.c:255:6: warning: conflicting types for built-in function 'ccos' [enabled by default] void ccos( z, w ) ^ libs/math/clog.c:304:6: warning: conflicting types for built-in function 'ctan' [enabled by default] void ctan( z, w ) ^ libs/math/clog.c:390:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP1 = 3.14159265160560607910E0; ^ libs/math/clog.c:391:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP2 = 1.98418714791870343106E-9; ^ libs/math/clog.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP3 = 1.14423774522196636802E-17; ^ libs/math/clog.c:428:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double redupi(x) ^ libs/math/clog.c:428:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double redupi(x) ^ libs/math/clog.c: In function 'redupi': libs/math/clog.c:440:1: warning: conversion to 'long int' from 'double' may alter its value [-Wconversion] i = t; /* the multiple */ ^ libs/math/clog.c: At top level: libs/math/clog.c:448:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double ctans(z) ^ libs/math/clog.c:448:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double ctans(z) ^ libs/math/clog.c:765:1: warning: conflicting types for built-in function 'csinh' [enabled by default] csinh (z, w) ^ libs/math/clog.c:805:1: warning: conflicting types for built-in function 'casinh' [enabled by default] casinh (z, w) ^ libs/math/clog.c:847:1: warning: conflicting types for built-in function 'ccosh' [enabled by default] ccosh (z, w) ^ libs/math/clog.c:887:1: warning: conflicting types for built-in function 'cacosh' [enabled by default] cacosh (z, w) ^ libs/math/clog.c:929:1: warning: conflicting types for built-in function 'ctanh' [enabled by default] ctanh (z, w) ^ libs/math/clog.c:971:1: warning: conflicting types for built-in function 'catanh' [enabled by default] catanh (z, w) ^ libs/math/clog.c:1018:1: warning: conflicting types for built-in function 'cpow' [enabled by default] cpow (a, z, w) ^ CC libs/math/const.o libs/math/cmplx.c:76:15: warning: conflicting types for built-in function 'cabs' [enabled by default] extern double cabs ( cmplx * ); ^ CC libs/math/cosh.o libs/math/cmplx.c:390:6: warning: conflicting types for built-in function 'csqrt' [enabled by default] void csqrt( z, w ) ^ CC libs/math/drand.o CC libs/math/exp10.o libs/math/drand.c: In function 'drand': libs/math/drand.c:119:11: warning: conversion to 'short unsigned int' from 'double' may alter its value [-Wconversion] r = unkans.d; ^ libs/math/exp10.c:58:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/exp10.c:64:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/exp10.c:71:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double LOG210 = 3.32192809488736234787e0; ^ libs/math/exp10.c:72:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double LG102A = 3.01025390625000000000E-1; ^ libs/math/exp10.c:73:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double LG102B = 4.60503898119521373889E-6; ^ libs/math/exp10.c:75:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double MAXL10 = 308.2547155599167; ^ libs/math/exp10.c: In function 'exp10': libs/math/exp10.c:206:1: warning: conversion to 'short int' from 'double' may alter its value [-Wconversion] n = px; ^ libs/math/exp10.c:215:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] px = x * polevl( xx, P, 3 ); ^ libs/math/exp10.c:160:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/exp10.c:216:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] x = px/( p1evl( xx, Q, 3 ) - px ); ^ libs/math/exp10.c:161:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/exp2.o CC libs/math/exp.o libs/math/exp2.c:62:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/exp2.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/exp2.c: In function 'exp2': libs/math/exp2.c:168:1: warning: conversion to 'short int' from 'double' may alter its value [-Wconversion] n = px; ^ libs/math/exp2.c:176:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] px = x * polevl( xx, P, 2 ); ^ libs/math/exp2.c:122:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/exp2.c:177:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] x = px / ( p1evl( xx, Q, 2 ) - px ); ^ libs/math/exp2.c:123:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/fabs.o libs/math/exp.c:69:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/exp.c:74:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/exp.c:80:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double C1 = 6.93145751953125E-1; ^ libs/math/exp.c:81:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double C2 = 1.42860682030941723212E-6; ^ libs/math/exp.c: In function 'exp': libs/math/exp.c:187:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] n = px; ^ libs/math/exp.c:196:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] px = x * polevl( xx, P, 2 ); ^ libs/math/exp.c:139:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/exp.c:197:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] x = px/( polevl( xx, Q, 3 ) - px ); ^ libs/math/exp.c:139:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ CC libs/math/floor.o CC libs/math/isnan.o CC libs/math/log10.o libs/math/floor.c: In function 'frexp': libs/math/floor.c:347:4: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] *q &= 0x800f; ^ libs/math/floor.c: In function 'ldexp': libs/math/floor.c:431:5: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] *q &= 0x800f; ^ libs/math/floor.c:448:5: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] *q &= 0x800f; ^ libs/math/floor.c:449:5: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion] *q |= (e & 0x7ff) << 4; ^ libs/math/log10.c:56:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/log10.c:65:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/log10.c: In function 'log10': libs/math/log10.c:236:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 6 ) / p1evl( x, Q, 6 ) ); ^ libs/math/log10.c:147:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/log10.c:236:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 6 ) / p1evl( x, Q, 6 ) ); ^ libs/math/log10.c:148:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/log2.o CC libs/math/log.o libs/math/log2.c:59:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/log2.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/log2.c:148:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double R[3] = { ^ libs/math/log2.c:153:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double S[3] = { ^ libs/math/log2.c: In function 'log2': libs/math/log2.c:307:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( z, R, 2 ) / p1evl( z, S, 3 ) ); ^ libs/math/log2.c:207:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/log2.c:307:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( z, R, 2 ) / p1evl( z, S, 3 ) ); ^ libs/math/log2.c:208:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/log2.c:329:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 5 ) / p1evl( x, Q, 5 ) ) - ldexp( z, -1 ); ^ libs/math/log2.c:207:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/log2.c:329:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 5 ) / p1evl( x, Q, 5 ) ) - ldexp( z, -1 ); ^ libs/math/log2.c:208:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/mtherr.o libs/math/log.c:61:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/log.c:69:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/log.c:143:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double R[3] = { ^ libs/math/log.c:148:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double S[3] = { ^ libs/math/log.c: In function 'log': libs/math/log.c:301:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = x * ( z * polevl( z, R, 2 ) / p1evl( z, S, 3 ) ); ^ libs/math/log.c:198:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/log.c:301:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] z = x * ( z * polevl( z, R, 2 ) / p1evl( z, S, 3 ) ); ^ libs/math/log.c:199:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/log.c:329:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 5 ) / p1evl( x, Q, 5 ) ); ^ libs/math/log.c:198:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/log.c:329:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = x * ( z * polevl( x, P, 5 ) / p1evl( x, Q, 5 ) ); ^ libs/math/log.c:199:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/polevl.o libs/math/mtherr.c: In function 'mtherr': libs/math/mtherr.c:79:7: warning: unused parameter 'name' [-Wunused-parameter] char *name; ^ libs/math/mtherr.c:80:5: warning: unused parameter 'code' [-Wunused-parameter] int code; ^ libs/math/mtherr.c: At top level: libs/math/mtherr.c:67:14: warning: 'ermsg' defined but not used [-Wunused-variable] static char *ermsg[7] = { ^ CC libs/math/pow.o CC libs/math/powi.o libs/math/pow.c:61:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/pow.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/pow.c:75:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double A[] = { ^ libs/math/pow.c:94:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double B[] = { ^ libs/math/pow.c:105:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double R[] = { ^ libs/math/pow.c:348:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double reduc ( double ); ^ libs/math/pow.c:348:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double reduc ( double ); ^ libs/math/pow.c: In function 'pow': libs/math/pow.c:542:2: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] i = w; ^ libs/math/pow.c:630:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] w = x * ( z * polevl( x, P, 3 ) / p1evl( x, Q, 4 ) ); ^ libs/math/pow.c:342:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/pow.c:630:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] w = x * ( z * polevl( x, P, 3 ) / p1evl( x, Q, 4 ) ); ^ libs/math/pow.c:343:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/pow.c:701:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] e = w; ^ libs/math/pow.c:715:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = Hb * polevl( Hb, R, 6 ); /* z = 2**Hb - 1 */ ^ libs/math/pow.c:342:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/pow.c: At top level: libs/math/pow.c:747:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double reduc(x) ^ libs/math/pow.c:747:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double reduc(x) ^ CC libs/math/round.o CC libs/math/setprec.o CC libs/math/sin.o CC libs/math/sincos.o libs/math/sin.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double sincof[] = { ^ libs/math/sin.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double coscof[6] = { ^ libs/math/sin.c:107:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP1 = 7.85398125648498535156E-1; ^ libs/math/sin.c:108:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP2 = 3.77489470793079817668E-8; ^ libs/math/sin.c:109:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP3 = 2.69515142907905952645E-15; ^ libs/math/sin.c:208:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double lossth = 1.073741824e9; ^ libs/math/sin.c: In function 'sin': libs/math/sin.c:257:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] j = z; /* convert to integer for tests on the phase angle */ ^ libs/math/sin.c:279:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = 1.0 - ldexp(zz,-1) + zz * zz * polevl( zz, coscof, 5 ); ^ libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sin.c:284:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * z * z * polevl( zz, sincof, 5 ); ^ libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sin.c: In function 'cos': libs/math/sin.c:331:1: warning: conversion to 'long int' from 'double' may alter its value [-Wconversion] i = z; ^ libs/math/sin.c:355:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * z * z * polevl( zz, sincof, 5 ); ^ libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sin.c:359:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = 1.0 - ldexp(zz,-1) + zz * zz * polevl( zz, coscof, 5 ); ^ libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sin.c: At top level: libs/math/sin.c:379:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P64800 = 4.8481368110953599358991410e-5; ^ CC libs/math/sindg.o libs/math/sincos.c:134:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double sintbl[92] = { ^ libs/math/sincos.c:235:5: warning: conflicting types for built-in function 'sincos' [enabled by default] int sincos(x, s, c, flg) ^ libs/math/sincos.c: In function 'sincos': libs/math/sincos.c:261:8: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] ix = x + 0.5; ^ CC libs/math/sinh.o libs/math/sindg.c:83:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double sincof[] = { ^ libs/math/sindg.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double coscof[] = { ^ libs/math/sindg.c:100:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double PI180 = 1.74532925199432957692E-2; /* pi/180 */ ^ libs/math/sindg.c:101:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double lossth = 1.0e14; ^ libs/math/sindg.c: In function 'sindg': libs/math/sindg.c:213:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] j = z; /* convert to integer for tests on the phase angle */ ^ libs/math/sindg.c:234:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = 1.0 - zz * polevl( zz, coscof, 6 ); ^ libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sindg.c:238:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, sincof, 5 )); ^ libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ CC libs/math/sqrt.o libs/math/sindg.c: In function 'cosdg': libs/math/sindg.c:274:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] j = z; ^ libs/math/sindg.c:297:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, sincof, 5 )); ^ libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sindg.c:301:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = 1.0 - zz * polevl( zz, coscof, 6 ); ^ libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sinh.c:43:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/sinh.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/sinh.c: In function 'sinh': libs/math/sinh.c:147:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] return( x + x * a * (polevl(a,P,3)/p1evl(a,Q,3)) ); ^ libs/math/sinh.c:104:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/sinh.c:147:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] return( x + x * a * (polevl(a,P,3)/p1evl(a,Q,3)) ); ^ libs/math/sinh.c:105:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/tan.o CC libs/math/tandg.o libs/math/tan.c:85:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/tan.c:90:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/tan.c:97:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP1 = 7.853981554508209228515625E-1; ^ libs/math/tan.c:98:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP2 = 7.94662735614792836714E-9; ^ libs/math/tan.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double DP3 = 3.06161699786838294307E-17; ^ libs/math/tan.c:100:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double lossth = 1.073741824e9; ^ libs/math/tan.c:189:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double tancot(double, int); ^ libs/math/tan.c:189:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double tancot(double, int); ^ libs/math/tan.c:232:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double tancot( xx, cotflg ) ^ libs/math/tan.c:232:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double tancot( xx, cotflg ) ^ libs/math/tan.c: In function 'tancot': libs/math/tan.c:269:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] j = z; ^ libs/math/tan.c:283:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, P, 2 )/p1evl(zz, Q, 4)); ^ libs/math/tan.c:183:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/tan.c:283:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, P, 2 )/p1evl(zz, Q, 4)); ^ libs/math/tan.c:184:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/tanh.o libs/math/tandg.c:78:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/tandg.c:83:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/tandg.c:90:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double PI180 = 1.74532925199432957692E-2; ^ libs/math/tandg.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double lossth = 1.0e14; ^ libs/math/tandg.c:154:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double tancot( double, int ); ^ libs/math/tandg.c:154:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double tancot( double, int ); ^ libs/math/tandg.c:179:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double tancot( xx, cotflg ) ^ libs/math/tandg.c:179:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] const static double tancot( xx, cotflg ) ^ libs/math/tandg.c: In function 'tancot': libs/math/tandg.c:213:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion] j = z; ^ libs/math/tandg.c:228:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, P, 2 )/p1evl(zz, Q, 4)); ^ libs/math/tandg.c:150:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/tandg.c:228:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] y = z + z * (zz * polevl( zz, P, 2 )/p1evl(zz, Q, 4)); ^ libs/math/tandg.c:151:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/tanh.c:44:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double P[] = { ^ libs/math/tanh.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double Q[] = { ^ libs/math/tanh.c: In function 'tanh': libs/math/tanh.c:136:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = polevl( s, P, 2 )/p1evl(s, Q, 3); ^ libs/math/tanh.c:100:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/tanh.c:136:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] z = polevl( s, P, 2 )/p1evl(s, Q, 3); ^ libs/math/tanh.c:101:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ CC libs/math/unity.o CC libs/graphics/bitmap_font_4x6.o libs/math/unity.c:34:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double LP[] = { ^ libs/math/unity.c:43:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double LQ[] = { ^ libs/math/unity.c: In function 'log1p': libs/math/unity.c:65:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] z = -0.5 * z + x * ( z * polevl( x, LP, 6 ) / p1evl( x, LQ, 6 ) ); ^ libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/unity.c:65:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default] z = -0.5 * z + x * ( z * polevl( x, LP, 6 ) / p1evl( x, LQ, 6 ) ); ^ libs/math/unity.c:19:15: note: expected 'void *' but argument is of type 'const double *' extern double p1evl ( double, void *, int ); ^ libs/math/unity.c: At top level: libs/math/unity.c:77:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double EP[3] = { ^ libs/math/unity.c:82:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double EQ[4] = { ^ CC libs/graphics/graphics.o libs/math/unity.c: In function 'expm1': libs/math/unity.c:107:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] r = x * polevl( xx, EP, 2 ); ^ libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/unity.c:108:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] r = r/( polevl( xx, EQ, 3 ) - r ); ^ libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ libs/math/unity.c: At top level: libs/math/unity.c:116:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] const static double coscof[7] = { ^ libs/math/unity.c: In function 'cosm1': libs/math/unity.c:136:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default] xx = -0.5*xx + xx * xx * polevl( xx, coscof, 6 ); ^ libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *' extern double polevl ( double, void *, int ); ^ CC libs/graphics/lcd_arraybuffer.o CC libs/graphics/lcd_js.o CC libs/network/network.o CC libs/network/http/httpserver.o CC libs/network/cc3000/board_spi.o CC libs/network/cc3000/cc3000_common.o In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:418:45: warning: 'struct timeval' declared inside parameter list [enabled by default] fd_set *exceptsds, struct timeval *timeout); ^ /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:418:45: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] libs/network/http/httpserver.c: In function '_httpServerConnectionKill': libs/network/http/httpserver.c:123:63: warning: unused parameter 'permanently' [-Wunused-parameter] static void _httpServerConnectionKill(JsVar *connection, bool permanently) { ^ libs/network/http/httpserver.c: In function '_http_send': libs/network/http/httpserver.c:353:5: warning: conversion to 'long int' from 'unsigned int' may change the sign of the result [-Wsign-conversion] a = (int)send(sckt,buf,bufLen, MSG_NOSIGNAL); ^ libs/network/http/httpserver.c: In function 'httpServerConnectionsIdle': libs/network/http/httpserver.c:398:7: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] FD_SET(sckt,&s); ^ libs/network/http/httpserver.c:398:7: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c:403:7: warning: passing argument 5 of 'select' from incompatible pointer type [enabled by default] int n = select(sckt+1,&s,NULL,NULL,&timeout); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:417:12: note: expected 'struct timeval *' but argument is of type 'struct timeval *' extern int select(long nfds, fd_set *readsds, fd_set *writesds, ^ libs/network/http/httpserver.c:449:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] FD_SET(sckt, &writefds); ^ libs/network/http/httpserver.c:449:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c:453:9: warning: passing argument 5 of 'select' from incompatible pointer type [enabled by default] int n = select(sckt+1, 0, &writefds, 0, &time); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:417:12: note: expected 'struct timeval *' but argument is of type 'struct timeval *' extern int select(long nfds, fd_set *readsds, fd_set *writesds, ^ libs/network/http/httpserver.c:457:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] } else if (FD_ISSET(sckt, &writefds)) { ^ libs/network/http/httpserver.c:457:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c: In function 'httpClientConnectionsIdle': libs/network/http/httpserver.c:537:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] FD_SET(sckt, &writefds); ^ libs/network/http/httpserver.c:537:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c:541:9: warning: passing argument 5 of 'select' from incompatible pointer type [enabled by default] int n = select(sckt+1, 0, &writefds, 0, &time); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:417:12: note: expected 'struct timeval *' but argument is of type 'struct timeval *' extern int select(long nfds, fd_set *readsds, fd_set *writesds, ^ libs/network/http/httpserver.c:545:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] } else if (FD_ISSET(sckt, &writefds)) { ^ libs/network/http/httpserver.c:545:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c:563:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] FD_SET(sckt,&s); ^ libs/network/http/httpserver.c:563:9: warning: conversion to 'unsigned int' from 'SOCKET' may change the sign of the result [-Wsign-conversion] libs/network/http/httpserver.c:572:9: warning: passing argument 5 of 'select' from incompatible pointer type [enabled by default] int n = select(sckt+1,&s,NULL,NULL,&timeout); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:417:12: note: expected 'struct timeval *' but argument is of type 'struct timeval *' extern int select(long nfds, fd_set *readsds, fd_set *writesds, ^ libs/network/http/httpserver.c: In function 'httpServerListen': /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:176:60: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] #define htons(A) ((((unsigned long)(A) & 0xff00) >> 8) | \ ^ libs/network/http/httpserver.c:803:25: note: in expansion of macro 'htons' serverInfo.sin_port = htons((unsigned short)port); // port ^ libs/network/http/httpserver.c:804:29: warning: passing argument 2 of 'bind' from incompatible pointer type [enabled by default] nret = bind(sckt, (struct sockaddr*)&serverInfo, sizeof(serverInfo)); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:301:13: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr *' extern long bind(long sd, const sockaddr *addr, long addrlen); ^ libs/network/http/httpserver.c: In function 'parseIPAddress': libs/network/http/httpserver.c:895:28: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] addr = (addr>>8) | (n<<24); ^ libs/network/http/httpserver.c:902:24: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] addr = (addr>>8) | (n<<24); ^ libs/network/http/httpserver.c: In function 'httpClientRequestEnd': libs/network/http/httpserver.c:915:36: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] sin.sa_data[0] = (port & 0xFF00) >> 8; ^ libs/network/http/httpserver.c:916:26: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] sin.sa_data[1] = (port & 0x00FF); ^ libs/network/http/httpserver.c:931:33: warning: conversion to 'short unsigned int' from 'size_t' may alter its value [-Wconversion] gethostbyname(hostName, strlen(hostName), &host_addr); ^ libs/network/http/httpserver.c:1002:36: warning: conversion to 'unsigned char' from 'long unsigned int' may alter its value [-Wconversion] sin.sa_data[2] = (host_addr>>24) & 0xFF; // Fourth Octet of destination IP ^ libs/network/http/httpserver.c:1016:40: warning: passing argument 2 of 'connect' from incompatible pointer type [enabled by default] int res = connect(sckt,(const struct sockaddr *)&sin, sizeof(sockaddr_in) ); ^ In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/httpserver.c:14: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:378:13: note: expected 'const struct sockaddr *' but argument is of type 'const struct sockaddr *' extern long connect(long sd, const sockaddr *addr, long addrlen); ^ libs/network/cc3000/cc3000_common.c: In function '__error__': libs/network/cc3000/cc3000_common.c:64:17: warning: unused parameter 'pcFilename' [-Wunused-parameter] __error__(char *pcFilename, unsigned long ulLine) ^ libs/network/cc3000/cc3000_common.c:64:43: warning: unused parameter 'ulLine' [-Wunused-parameter] __error__(char *pcFilename, unsigned long ulLine) ^ CC libs/network/cc3000/evnt_handler.o CC libs/network/cc3000/hci.o CC libs/network/cc3000/netapp.o libs/network/cc3000/evnt_handler.c: In function 'hci_unsol_handle_patch_request': libs/network/cc3000/evnt_handler.c:159:13: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] tSLInformation.pucTxCommandBuffer, patch, ucLength); ^ libs/network/cc3000/evnt_handler.c:179:13: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] tSLInformation.pucTxCommandBuffer, patch, ucLength); ^ libs/network/cc3000/evnt_handler.c:198:13: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] tSLInformation.pucTxCommandBuffer, patch, ucLength); ^ libs/network/cc3000/evnt_handler.c: In function 'hci_event_handler': libs/network/cc3000/evnt_handler.c:462:18: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] usLength - ucArgsize); ^ In file included from libs/network/cc3000/evnt_handler.c:46:0: libs/network/cc3000/evnt_handler.c: In function 'hci_unsol_event_handler': libs/network/cc3000/cc3000_common.h:340:71: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define STREAM_TO_UINT32(_p, _offset, _u32) {_u32 = STREAM_TO_UINT32_f(_p, _offset);} ^ libs/network/cc3000/evnt_handler.c:635:17: note: in expansion of macro 'STREAM_TO_UINT32' STREAM_TO_UINT32(pArg, BSD_RSP_PARAMS_STATUS_OFFSET,status); ^ libs/network/cc3000/evnt_handler.c: In function 'hci_unsolicited_event_handler': libs/network/cc3000/evnt_handler.c:699:2: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] return res; ^ libs/network/cc3000/evnt_handler.c: In function 'set_socket_active_status': libs/network/cc3000/evnt_handler.c:718:27: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] socket_active_status &= ~(1 << Sd); /* clean socket's mask */ ^ libs/network/cc3000/evnt_handler.c:719:35: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] socket_active_status |= (Status << Sd); /* set new socket's mask */ ^ libs/network/cc3000/evnt_handler.c: In function 'hci_event_unsol_flowcontrol_handler': libs/network/cc3000/evnt_handler.c:758:39: warning: conversion to 'short unsigned int' from 'long int' may alter its value [-Wconversion] tSLInformation.usNumberOfFreeBuffers += temp; ^ libs/network/cc3000/evnt_handler.c:759:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] tSLInformation.NumberOfReleasedPackets += temp; ^ libs/network/cc3000/evnt_handler.c: In function 'get_socket_active_status': libs/network/cc3000/evnt_handler.c:780:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] return (socket_active_status & (1 << Sd)) ? SOCKET_STATUS_INACTIVE : SOCKET_STATUS_ACTIVE; ^ In file included from libs/network/cc3000/evnt_handler.c:46:0: libs/network/cc3000/evnt_handler.c: In function 'update_socket_active_status': libs/network/cc3000/cc3000_common.h:340:71: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define STREAM_TO_UINT32(_p, _offset, _u32) {_u32 = STREAM_TO_UINT32_f(_p, _offset);} ^ libs/network/cc3000/evnt_handler.c:800:2: note: in expansion of macro 'STREAM_TO_UINT32' STREAM_TO_UINT32(resp_params, BSD_RSP_PARAMS_SOCKET_OFFSET,sd); ^ libs/network/cc3000/cc3000_common.h:340:71: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] #define STREAM_TO_UINT32(_p, _offset, _u32) {_u32 = STREAM_TO_UINT32_f(_p, _offset);} ^ libs/network/cc3000/evnt_handler.c:801:2: note: in expansion of macro 'STREAM_TO_UINT32' STREAM_TO_UINT32(resp_params, BSD_RSP_PARAMS_STATUS_OFFSET,status); ^ libs/network/cc3000/hci.c: In function 'hci_command_send': libs/network/cc3000/hci.c:78:41: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cc3000_spi_write(pucBuff, ucArgsLength + SIMPLE_LINK_HCI_CMND_HEADER_SIZE); ^ libs/network/cc3000/hci.c: In function 'hci_data_send': libs/network/cc3000/hci.c:112:2: warning: conversion to 'unsigned char' from 'short unsigned int' may alter its value [-Wconversion] UINT8_TO_STREAM(stream, usArgsLength); ^ In file included from libs/network/cc3000/hci.c:43:0: libs/network/cc3000/hci.c:113:64: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] stream = UINT16_TO_STREAM(stream, usArgsLength + usDataLength + usTailLength); ^ libs/network/cc3000/cc3000_common.h:330:60: note: in definition of macro 'UINT16_TO_STREAM' #define UINT16_TO_STREAM(_p, _u16) (UINT16_TO_STREAM_f(_p, _u16)) ^ libs/network/cc3000/hci.c:116:90: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cc3000_spi_write(ucArgs, SIMPLE_LINK_HCI_DATA_HEADER_SIZE + usArgsLength + usDataLength + usTailLength); ^ libs/network/cc3000/hci.c:103:29: warning: unused parameter 'ucTail' [-Wunused-parameter] const unsigned char *ucTail, ^ libs/network/cc3000/hci.c: In function 'hci_data_command_send': libs/network/cc3000/hci.c:142:2: warning: conversion to 'unsigned char' from 'short unsigned int' may alter its value [-Wconversion] UINT8_TO_STREAM(stream, usOpcode); ^ In file included from libs/network/cc3000/hci.c:43:0: libs/network/cc3000/hci.c:144:49: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] stream = UINT16_TO_STREAM(stream, ucArgsLength + ucDataLength); ^ libs/network/cc3000/cc3000_common.h:330:60: note: in definition of macro 'UINT16_TO_STREAM' #define UINT16_TO_STREAM(_p, _u16) (UINT16_TO_STREAM_f(_p, _u16)) ^ libs/network/cc3000/hci.c:147:56: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cc3000_spi_write(pucBuff, ucArgsLength + ucDataLength + SIMPLE_LINK_HCI_DATA_CMND_HEADER_SIZE); ^ In file included from libs/network/cc3000/hci.c:43:0: libs/network/cc3000/hci.c: In function 'hci_patch_send': libs/network/cc3000/hci.c:175:49: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] stream = UINT16_TO_STREAM(stream, usDataLength + SIMPLE_LINK_HCI_PATCH_HEADER_SIZE); ^ libs/network/cc3000/cc3000_common.h:330:60: note: in definition of macro 'UINT16_TO_STREAM' #define UINT16_TO_STREAM(_p, _u16) (UINT16_TO_STREAM_f(_p, _u16)) ^ libs/network/cc3000/hci.c:184:42: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] cc3000_spi_write(pucBuff, usDataLength + HCI_PATCH_HEADER_SIZE); ^ In file included from libs/network/cc3000/hci.c:43:0: libs/network/cc3000/hci.c:190:77: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] UINT16_TO_STREAM(stream, usDataLength + SIMPLE_LINK_HCI_PATCH_HEADER_SIZE + usTransLength*SIMPLE_LINK_HCI_PATCH_HEADER_SIZE); ^ libs/network/cc3000/cc3000_common.h:330:60: note: in definition of macro 'UINT16_TO_STREAM' #define UINT16_TO_STREAM(_p, _u16) (UINT16_TO_STREAM_f(_p, _u16)) ^ libs/network/cc3000/hci.c:193:16: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] usDataLength -= SL_PATCH_PORTION_SIZE; ^ libs/network/cc3000/hci.c:210:18: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] usDataLength -= usTransLength; ^ libs/network/cc3000/hci.c:218:62: warning: conversion to 'short unsigned int' from 'unsigned int' may alter its value [-Wconversion] cc3000_spi_write((unsigned char *)data_ptr, usTransLength + sizeof(usTransLength)); ^ CC libs/network/cc3000/nvmem.o CC libs/network/cc3000/security.o CC libs/network/cc3000/socket.o libs/network/cc3000/nvmem.c: In function 'nvmem_write': libs/network/cc3000/nvmem.c:158:13: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] ulLength); ^ libs/network/cc3000/nvmem.c: In function 'nvmem_set_mac_address': libs/network/cc3000/nvmem.c:181:21: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] return nvmem_write(NVMEM_MAC_FILEID, MAC_ADDR_LEN, 0, mac); ^ libs/network/cc3000/nvmem.c: In function 'nvmem_get_mac_address': libs/network/cc3000/nvmem.c:199:20: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] return nvmem_read(NVMEM_MAC_FILEID, MAC_ADDR_LEN, 0, mac); ^ libs/network/cc3000/nvmem.c: In function 'nvmem_write_patch': libs/network/cc3000/nvmem.c:228:23: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] status = nvmem_write(ulFileId, SP_PORTION_SIZE, offset, spDataPtr); ^ libs/network/cc3000/nvmem.c:229:10: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion] offset += SP_PORTION_SIZE; ^ libs/network/cc3000/nvmem.c:243:23: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] status = nvmem_write(ulFileId, spLength, offset, spDataPtr); ^ CC libs/network/cc3000/wlan.o CC targetlibs/stm32f1/lib/misc.o libs/network/cc3000/security.c: In function 'galois_mul2': libs/network/cc3000/security.c:147:17: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] value = value << 1; ^ libs/network/cc3000/security.c:150:15: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] return value<<1; ^ libs/network/cc3000/socket.c: In function 'socket': libs/network/cc3000/socket.c:196:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, domain); ^ libs/network/cc3000/socket.c:197:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, type); ^ libs/network/cc3000/socket.c:198:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, protocol); ^ libs/network/cc3000/socket.c: In function 'closesocket': libs/network/cc3000/socket.c:238:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c: In function 'accept': libs/network/cc3000/socket.c:314:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c: In function 'bind': libs/network/cc3000/socket.c:380:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:382:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, addrlen); ^ libs/network/cc3000/socket.c: In function 'listen': libs/network/cc3000/socket.c:432:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:433:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, backlog); ^ libs/network/cc3000/socket.c: In function 'gethostbyname': libs/network/cc3000/socket.c:491:23: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] + usNameLen - 1); ^ libs/network/cc3000/socket.c: In function 'connect': libs/network/cc3000/socket.c:547:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:549:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, addrlen); ^ libs/network/cc3000/socket.c: In function 'select': libs/network/cc3000/socket.c:626:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, nfds); ^ In file included from libs/network/cc3000/hci.h:38:0, from libs/network/cc3000/socket.c:44: libs/network/cc3000/socket.c:643:40: warning: conversion to 'long unsigned int' from 'time_t' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, timeout->tv_sec); ^ libs/network/cc3000/cc3000_common.h:332:60: note: in definition of macro 'UINT32_TO_STREAM' #define UINT32_TO_STREAM(_p, _u32) (UINT32_TO_STREAM_f(_p, _u32)) ^ libs/network/cc3000/socket.c:644:40: warning: conversion to 'long unsigned int' from 'suseconds_t' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, timeout->tv_usec); ^ libs/network/cc3000/cc3000_common.h:332:60: note: in definition of macro 'UINT32_TO_STREAM' #define UINT32_TO_STREAM(_p, _u32) (UINT32_TO_STREAM_f(_p, _u32)) ^ libs/network/cc3000/socket.c: In function 'setsockopt': libs/network/cc3000/socket.c:741:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:742:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, level); ^ libs/network/cc3000/socket.c:743:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, optname); ^ In file included from libs/network/cc3000/hci.h:38:0, from libs/network/cc3000/socket.c:44: libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/socket.c:746:2: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, ((unsigned char *)optval), optlen); ^ libs/network/cc3000/socket.c:750:48: warning: conversion to 'unsigned char' from 'long unsigned int' may alter its value [-Wconversion] ptr, SOCKET_SET_SOCK_OPT_PARAMS_LEN + optlen); ^ libs/network/cc3000/socket.c: In function 'getsockopt': libs/network/cc3000/socket.c:825:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:826:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, level); ^ libs/network/cc3000/socket.c:827:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, optname); ^ libs/network/cc3000/socket.c: In function 'simple_link_recv': libs/network/cc3000/socket.c:882:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:883:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, len); ^ libs/network/cc3000/socket.c:884:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, flags); ^ libs/network/cc3000/socket.c:887:2: warning: conversion to 'short unsigned int' from 'long int' may alter its value [-Wconversion] hci_command_send(opcode, ptr, SOCKET_RECV_FROM_PARAMS_LEN); ^ libs/network/cc3000/socket.c:890:2: warning: conversion to 'short unsigned int' from 'long int' may alter its value [-Wconversion] SimpleLinkWaitEvent(opcode, &tSocketReadEvent); ^ libs/network/cc3000/socket.c: In function 'simple_link_send': libs/network/cc3000/socket.c:1020:4: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] addr_offset = len + sizeof(len) + sizeof(len); ^ libs/network/cc3000/socket.c:1043:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, sd); ^ libs/network/cc3000/socket.c:1045:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, len); ^ libs/network/cc3000/socket.c:1046:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, flags); ^ libs/network/cc3000/socket.c:1064:2: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] hci_data_send(opcode, ptr, uArgSize, len,(unsigned char*)to, tolen); ^ libs/network/cc3000/socket.c:1064:2: warning: conversion to 'short unsigned int' from 'long int' may alter its value [-Wconversion] libs/network/cc3000/socket.c:1064:2: warning: conversion to 'short unsigned int' from 'long int' may alter its value [-Wconversion] libs/network/cc3000/socket.c: In function 'sendto': libs/network/cc3000/socket.c:1133:2: warning: conversion to 'long int' from 'socklen_t' may change the sign of the result [-Wsign-conversion] return(simple_link_send(sd, buf, len, flags, to, tolen, HCI_CMND_SENDTO)); ^ libs/network/cc3000/socket.c: In function 'mdnsAdvertiser': libs/network/cc3000/socket.c:1174:88: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] hci_command_send(HCI_CMND_MDNS_ADVERTISE, pTxBuffer, SOCKET_MDNS_ADVERTISE_PARAMS_LEN + deviceServiceNameLength); ^ libs/network/cc3000/wlan.c: In function 'wlan_start': libs/network/cc3000/wlan.c:278:53: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] ulSpiIRQState = tSLInformation.ReadWlanInterruptPin(); ^ CC targetlibs/stm32f1/lib/stm32f10x_adc.o libs/network/cc3000/wlan.c: In function 'wlan_connect': libs/network/cc3000/wlan.c:393:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, ssid_len); ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/wlan.c:395:43: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, 0x00000010 + ssid_len); ^ libs/network/cc3000/cc3000_common.h:332:60: note: in definition of macro 'UINT32_TO_STREAM' #define UINT32_TO_STREAM(_p, _u32) (UINT32_TO_STREAM_f(_p, _u32)) ^ libs/network/cc3000/wlan.c:396:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, key_len); ^ libs/network/cc3000/wlan.c:418:30: warning: conversion to 'unsigned char' from 'long int' may alter its value [-Wconversion] ssid_len + key_len - 1); ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/wlan.c: In function 'wlan_add_profile': libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:628:4: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, ucSsid, ulSsidLen); ^ libs/network/cc3000/wlan.c:630:47: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] arg_len = WLAN_ADD_PROFILE_NOSEC_PARAM_LEN + ulSsidLen; ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:652:4: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, ucSsid, ulSsidLen); ^ libs/network/cc3000/wlan.c:656:5: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] unsigned char *p = &ucPf_OrKey[i * ulPairwiseCipher_Or_TxKeyLen]; ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:658:5: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, p, ulPairwiseCipher_Or_TxKeyLen); ^ libs/network/cc3000/wlan.c:661:57: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] arg_len = WLAN_ADD_PROFILE_WEP_PARAM_LEN + ulSsidLen + ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:689:4: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, ucSsid, ulSsidLen); ^ libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:690:4: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, ucPf_OrKey, ulPassPhraseLen); ^ libs/network/cc3000/wlan.c:692:57: warning: conversion to 'short unsigned int' from 'long unsigned int' may alter its value [-Wconversion] arg_len = WLAN_ADD_PROFILE_WPA_PARAM_LEN + ulSsidLen + ulPassPhraseLen; ^ libs/network/cc3000/wlan.c:700:11: warning: conversion to 'unsigned char' from 'short unsigned int' may alter its value [-Wconversion] ptr, arg_len); ^ libs/network/cc3000/wlan.c: In function 'wlan_ioctl_set_scan_params': libs/network/cc3000/wlan.c:884:2: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion] args = UINT32_TO_STREAM(args, iRSSIThreshold); ^ In file included from libs/network/cc3000/wlan.h:38:0, from libs/network/cc3000/wlan.c:42: libs/network/cc3000/cc3000_common.h:334:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define ARRAY_TO_STREAM(p, a, l) {register short _i; for (_i = 0; _i < l; _i++) *(p)++ = ((unsigned char *) a)[_i];} ^ libs/network/cc3000/wlan.c:887:2: note: in expansion of macro 'ARRAY_TO_STREAM' ARRAY_TO_STREAM(args, aiIntervalList, sizeof(unsigned long) * ^ libs/network/cc3000/wlan.c:897:2: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] return(uiRes); ^ libs/network/cc3000/wlan.c: In function 'wlan_set_event_mask': libs/network/cc3000/wlan.c:942:3: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] ulMask &= ~HCI_EVNT_WLAN_TX_COMPLETE; ^ CC targetlibs/stm32f1/lib/stm32f10x_bkp.o targetlibs/stm32f1/lib/misc.c: In function 'NVIC_Init': targetlibs/stm32f1/lib/misc.c:138:5: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority; ^ CC targetlibs/stm32f1/lib/stm32f10x_can.o targetlibs/stm32f1/lib/stm32f10x_bkp.c: In function 'BKP_SetRTCCalibrationValue': targetlibs/stm32f1/lib/stm32f10x_bkp.c:216:10: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] tmpreg |= CalibrationValue; ^ targetlibs/stm32f1/lib/stm32f10x_adc.c: In function 'ADC_DiscModeChannelCountConfig': targetlibs/stm32f1/lib/stm32f10x_adc.c:527:20: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] tmpreg2 = Number - 1; ^ targetlibs/stm32f1/lib/stm32f10x_adc.c: In function 'ADC_InjectedChannelConfig': targetlibs/stm32f1/lib/stm32f10x_adc.c:981:50: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmpreg2 = JSQR_JSQ_Set << (5 * (uint8_t)((Rank + 3) - (tmpreg3 + 1))); ^ targetlibs/stm32f1/lib/stm32f10x_adc.c:985:59: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmpreg2 = (uint32_t)ADC_Channel << (5 * (uint8_t)((Rank + 3) - (tmpreg3 + 1))); ^ targetlibs/stm32f1/lib/stm32f10x_adc.c: In function 'ADC_InjectedSequencerLengthConfig': targetlibs/stm32f1/lib/stm32f10x_adc.c:1012:20: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] tmpreg2 = Length - 1; ^ targetlibs/stm32f1/lib/stm32f10x_adc.c: In function 'ADC_GetInjectedConversionValue': targetlibs/stm32f1/lib/stm32f10x_adc.c:1067:30: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmp += ADC_InjectedChannel + JDR_Offset; ^ CC targetlibs/stm32f1/lib/stm32f10x_cec.o targetlibs/stm32f1/lib/stm32f10x_can.c: In function 'CAN_Receive': targetlibs/stm32f1/lib/stm32f10x_can.c:702:38: warning: conversion to 'uint8_t' from 'long unsigned int' may alter its value [-Wconversion] RxMessage->Data[3] = (uint8_t)0xFF & (CANx->sFIFOMailBox[FIFONumber].RDLR >> 24); ^ targetlibs/stm32f1/lib/stm32f10x_can.c:706:38: warning: conversion to 'uint8_t' from 'long unsigned int' may alter its value [-Wconversion] RxMessage->Data[7] = (uint8_t)0xFF & (CANx->sFIFOMailBox[FIFONumber].RDHR >> 24); ^ CC targetlibs/stm32f1/lib/stm32f10x_crc.o CC targetlibs/stm32f1/lib/stm32f10x_dac.o targetlibs/stm32f1/lib/stm32f10x_cec.c: In function 'CEC_Init': targetlibs/stm32f1/lib/stm32f10x_cec.c:151:15: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] tmpreg = CEC->CFGR; ^ CC targetlibs/stm32f1/lib/stm32f10x_dbgmcu.o CC targetlibs/stm32f1/lib/stm32f10x_dma.o CC targetlibs/stm32f1/lib/stm32f10x_exti.o CC targetlibs/stm32f1/lib/stm32f10x_flash.o CC targetlibs/stm32f1/lib/stm32f10x_fsmc.o CC targetlibs/stm32f1/lib/stm32f10x_gpio.o targetlibs/stm32f1/lib/stm32f10x_flash.c: In function 'FLASH_ProgramWord': targetlibs/stm32f1/lib/stm32f10x_flash.c:711:38: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] *(__IO uint16_t*) tmp = Data >> 16; ^ CC targetlibs/stm32f1/lib/stm32f10x_i2c.o targetlibs/stm32f1/lib/stm32f10x_flash.c:761:36: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] *(__IO uint16_t*) tmp = Data >> 16; ^ targetlibs/stm32f1/lib/stm32f10x_flash.c:796:38: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] *(__IO uint16_t*) tmp = Data >> 16; ^ targetlibs/stm32f1/lib/stm32f10x_i2c.c: In function 'I2C_Init': targetlibs/stm32f1/lib/stm32f10x_i2c.c:247:29: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] I2Cx->TRISE = freqrange + 1; ^ targetlibs/stm32f1/lib/stm32f10x_i2c.c: In function 'I2C_OwnAddress2Config': targetlibs/stm32f1/lib/stm32f10x_i2c.c:485:10: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] tmpreg |= (uint16_t)((uint16_t)Address & (uint16_t)0x00FE); ^ targetlibs/stm32f1/lib/stm32f10x_i2c.c: In function 'I2C_Send7bitAddress': targetlibs/stm32f1/lib/stm32f10x_i2c.c:621:13: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion] Address &= OAR1_ADD0_Reset; ^ targetlibs/stm32f1/lib/stm32f10x_i2c.c: In function 'I2C_GetPEC': targetlibs/stm32f1/lib/stm32f10x_i2c.c:836:23: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion] return ((I2Cx->SR2) >> 8); ^ CC targetlibs/stm32f1/lib/stm32f10x_iwdg.o CC targetlibs/stm32f1/lib/stm32f10x_pwr.o CC targetlibs/stm32f1/lib/stm32f10x_rcc.o CC targetlibs/stm32f1/lib/stm32f10x_rtc.o CC targetlibs/stm32f1/lib/stm32f10x_sdio.o CC targetlibs/stm32f1/lib/stm32f10x_spi.o targetlibs/stm32f1/lib/stm32f10x_rtc.c: In function 'RTC_SetCounter': targetlibs/stm32f1/lib/stm32f10x_rtc.c:168:28: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] RTC->CNTH = CounterValue >> 16; ^ targetlibs/stm32f1/lib/stm32f10x_rtc.c: In function 'RTC_SetPrescaler': targetlibs/stm32f1/lib/stm32f10x_rtc.c:186:48: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] RTC->PRLH = (PrescalerValue & PRLH_MSB_MASK) >> 16; ^ targetlibs/stm32f1/lib/stm32f10x_rtc.c: In function 'RTC_SetAlarm': targetlibs/stm32f1/lib/stm32f10x_rtc.c:201:26: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] RTC->ALRH = AlarmValue >> 16; ^ CC targetlibs/stm32f1/lib/stm32f10x_tim.o CC targetlibs/stm32f1/lib/stm32f10x_usart.o targetlibs/stm32f1/lib/stm32f10x_spi.c: In function 'I2S_Init': targetlibs/stm32f1/lib/stm32f10x_spi.c:335:46: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] tmp = (uint16_t)(((((sourceclock / (32 * packetlength)) *10 ) / I2S_InitStruct->I2S_AudioFreq)) + 5); ^ targetlibs/stm32f1/lib/stm32f10x_spi.c: In function 'SPI_I2S_ITConfig': targetlibs/stm32f1/lib/stm32f10x_spi.c:500:24: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] itmask = (uint16_t)1 << (uint16_t)itpos; ^ targetlibs/stm32f1/lib/stm32f10x_spi.c: In function 'SPI_I2S_GetITStatus': targetlibs/stm32f1/lib/stm32f10x_spi.c:845:16: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] itpos = 0x01 << (SPI_I2S_IT & 0x0F); ^ targetlibs/stm32f1/lib/stm32f10x_spi.c:851:17: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] itmask = 0x01 << itmask; ^ targetlibs/stm32f1/lib/stm32f10x_spi.c: In function 'SPI_I2S_ClearITPendingBit': targetlibs/stm32f1/lib/stm32f10x_spi.c:897:16: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] itpos = 0x01 << (SPI_I2S_IT & 0x0F); ^ CC targetlibs/stm32f1/lib/stm32f10x_wwdg.o targetlibs/stm32f1/lib/stm32f10x_tim.c: In function 'TIM_CCxCmd': targetlibs/stm32f1/lib/stm32f10x_tim.c:1989:22: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] tmp = CCER_CCE_Set << TIM_Channel; ^ targetlibs/stm32f1/lib/stm32f10x_tim.c: In function 'TIM_CCxNCmd': targetlibs/stm32f1/lib/stm32f10x_tim.c:2019:23: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] tmp = CCER_CCNE_Set << TIM_Channel; ^ targetlibs/stm32f1/lib/stm32f10x_usart.c: In function 'USART_SetAddress': targetlibs/stm32f1/lib/stm32f10x_tim.c: In function 'TIM_SelectOCxM': targetlibs/stm32f1/lib/stm32f10x_usart.c:491:15: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] USARTx->CR2 |= USART_Address; ^ targetlibs/stm32f1/lib/stm32f10x_tim.c:2064:23: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] tmp1 = CCER_CCE_Set << (uint16_t)TIM_Channel; ^ targetlibs/stm32f1/lib/stm32f10x_usart.c: In function 'USART_SetPrescaler': targetlibs/stm32f1/lib/stm32f10x_usart.c:675:16: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] USARTx->GTPR |= USART_Prescaler; ^ targetlibs/stm32f1/lib/stm32f10x_usart.c: In function 'USART_ClearITPendingBit': targetlibs/stm32f1/lib/stm32f10x_usart.c:1050:28: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] itmask = ((uint16_t)0x01 << (uint16_t)bitpos); ^ CC targetlibs/stm32f1/lib/system_stm32f10x.o CC targetlibs/stm32f1/usblib/otgd_fs_cal.o CC targetlibs/stm32f1/usblib/otgd_fs_dev.o CC targetlibs/stm32f1/usblib/otgd_fs_int.o CC targetlibs/stm32f1/usblib/otgd_fs_pcd.o CC targetlibs/stm32f1/usblib/usb_core.o CC targetlibs/stm32f1/usblib/usb_init.o CC targetlibs/stm32f1/usblib/usb_int.o CC targetlibs/stm32f1/usblib/usb_mem.o targetlibs/stm32f1/usblib/usb_core.c: In function 'Standard_ClearFeature': targetlibs/stm32f1/usblib/usb_core.c:279:5: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] rEP = wIndex0 & ~0x80; ^ targetlibs/stm32f1/usblib/usb_core.c:305:9: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] ClearDTOG_TX(Related_Endpoint); ^ targetlibs/stm32f1/usblib/usb_core.c:306:9: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] SetEPTxStatus(Related_Endpoint, EP_TX_VALID); ^ targetlibs/stm32f1/usblib/usb_core.c:317:11: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] SetEPRxCount(Related_Endpoint, Device_Property.MaxPacketSize); ^ targetlibs/stm32f1/usblib/usb_core.c:322:11: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] ClearDTOG_RX(Related_Endpoint); ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'Standard_SetEndPointFeature': targetlibs/stm32f1/usblib/usb_core.c:350:3: warning: negative integer implicitly converted to unsigned type [-Wsign-conversion] rEP = wIndex0 & ~0x80; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'Standard_GetDescriptorData': targetlibs/stm32f1/usblib/usb_core.c:429:66: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] pInformation->Ctrl_Info.Usb_wLength = pDesc->Descriptor_Size - wOffset; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'DataStageOut': targetlibs/stm32f1/usblib/usb_core.c:461:5: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] Buffer = (*pEPinfo->CopyData)(Length); ^ targetlibs/stm32f1/usblib/usb_core.c:462:26: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] pEPinfo->Usb_rLength -= Length; ^ targetlibs/stm32f1/usblib/usb_core.c:463:26: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] pEPinfo->Usb_rOffset += Length; ^ targetlibs/stm32f1/usblib/usb_core.c:464:5: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] PMAToUserBufferCopy(Buffer, GetEPRxAddr(ENDP0), Length); ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'DataStageIn': targetlibs/stm32f1/usblib/usb_core.c:537:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] DataBuffer = (*pEPinfo->CopyData)(Length); ^ targetlibs/stm32f1/usblib/usb_core.c:539:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] UserToPMABufferCopy(DataBuffer, GetEPTxAddr(ENDP0), Length); ^ targetlibs/stm32f1/usblib/usb_core.c:541:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] SetEPTxCount(ENDP0, Length); ^ targetlibs/stm32f1/usblib/usb_core.c:543:24: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] pEPinfo->Usb_wLength -= Length; ^ targetlibs/stm32f1/usblib/usb_core.c:544:24: warning: conversion to 'uint16_t' from 'long unsigned int' may alter its value [-Wconversion] pEPinfo->Usb_wOffset += Length; ^ targetlibs/stm32f1/usblib/usb_core.c:550:3: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->ControlState = ControlState; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'NoData_Setup0': targetlibs/stm32f1/usblib/usb_core.c:653:5: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] Result = (*pProperty->Class_NoData_Setup)(RequestNo); ^ targetlibs/stm32f1/usblib/usb_core.c:672:3: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->ControlState = ControlState; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'Data_Setup0': targetlibs/stm32f1/usblib/usb_core.c:789:5: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->Ctrl_Info.Usb_wOffset = wOffset; ^ targetlibs/stm32f1/usblib/usb_core.c:828:7: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->Ctrl_Info.Usb_wLength = wLength; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'In0_Process': targetlibs/stm32f1/usblib/usb_core.c:935:3: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->ControlState = ControlState; ^ targetlibs/stm32f1/usblib/usb_core.c: In function 'Out0_Process': targetlibs/stm32f1/usblib/usb_core.c:975:3: warning: conversion to 'uint8_t' from 'uint32_t' may alter its value [-Wconversion] pInformation->ControlState = ControlState; ^ In file included from targetlibs/stm32f1/usblib/usb_lib.h:36:0, from targetlibs/stm32f1/usblib/usb_core.c:30: targetlibs/stm32f1/usblib/usb_core.c: In function 'SetDeviceAddress': targetlibs/stm32f1/usblib/usb_regs.h:440:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|(_GetENDPOINT(bEpNum) & EPREG_MASK) | bAddr) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_core.c:1017:5: note: in expansion of macro '_SetEPAddress' _SetEPAddress((uint8_t)i, (uint8_t)i); ^ CC targetlibs/stm32f1/usblib/usb_regs.o CC targetlibs/stm32f1/usblib/usb_sil.o targetlibs/stm32f1/usblib/usb_mem.c: In function 'UserToPMABufferCopy': targetlibs/stm32f1/usblib/usb_mem.c:50:30: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] uint32_t n = (wNBytes + 1) >> 1; /* n = (wNBytes + 1) / 2 */ ^ targetlibs/stm32f1/usblib/usb_mem.c:58:43: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] temp2 = temp1 | (uint16_t) * pbUsrBuf << 8; ^ targetlibs/stm32f1/usblib/usb_mem.c:59:5: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] *pdwVal++ = temp2; ^ targetlibs/stm32f1/usblib/usb_mem.c: In function 'PMAToUserBufferCopy': targetlibs/stm32f1/usblib/usb_mem.c:76:30: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] uint32_t n = (wNBytes + 1) >> 1;/* /2*/ ^ targetlibs/stm32f1/usblib/usb_mem.c:82:30: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] *(uint16_t*)pbUsrBuf++ = *pdwVal++; ^ In file included from targetlibs/stm32f1/usblib/usb_lib.h:36:0, from targetlibs/stm32f1/usblib/usb_regs.c:29: targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetDouBleBuffEPStall': targetlibs/stm32f1/usblib/usb_regs.c:237:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] _SetENDPOINT(bEpNum, Endpoint_DTOG_Status & ~EPRX_DTOG1); ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:241:47: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] _SetENDPOINT(bEpNum, Endpoint_DTOG_Status & ~EPTX_DTOG1); ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ToggleDTOG_RX': targetlibs/stm32f1/usblib/usb_regs.h:416:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_RX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:413:3: note: in expansion of macro '_ToggleDTOG_RX' _ToggleDTOG_RX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ToggleDTOG_TX': targetlibs/stm32f1/usblib/usb_regs.h:418:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_TX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:424:3: note: in expansion of macro '_ToggleDTOG_TX' _ToggleDTOG_TX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ClearDTOG_RX': targetlibs/stm32f1/usblib/usb_regs.h:416:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_RX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.h:428:5: note: in expansion of macro '_ToggleDTOG_RX' _ToggleDTOG_RX(bEpNum) ^ targetlibs/stm32f1/usblib/usb_regs.c:435:3: note: in expansion of macro '_ClearDTOG_RX' _ClearDTOG_RX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ClearDTOG_TX': targetlibs/stm32f1/usblib/usb_regs.h:418:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_TX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.h:430:5: note: in expansion of macro '_ToggleDTOG_TX' _ToggleDTOG_TX(bEpNum) ^ targetlibs/stm32f1/usblib/usb_regs.c:446:3: note: in expansion of macro '_ClearDTOG_TX' _ClearDTOG_TX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPAddress': targetlibs/stm32f1/usblib/usb_regs.h:440:61: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|(_GetENDPOINT(bEpNum) & EPREG_MASK) | bAddr) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:458:3: note: in expansion of macro '_SetEPAddress' _SetEPAddress(bEpNum, bAddr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPTxAddr': targetlibs/stm32f1/usblib/usb_regs.h:464:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPTxAddr(bEpNum,wAddr) (*_pEPTxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.c:481:3: note: in expansion of macro '_SetEPTxAddr' _SetEPTxAddr(bEpNum, wAddr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPRxAddr': targetlibs/stm32f1/usblib/usb_regs.h:465:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPRxAddr(bEpNum,wAddr) (*_pEPRxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.c:493:3: note: in expansion of macro '_SetEPRxAddr' _SetEPRxAddr(bEpNum, wAddr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPDblBuffAddr': targetlibs/stm32f1/usblib/usb_regs.h:464:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPTxAddr(bEpNum,wAddr) (*_pEPTxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.h:542:46: note: in expansion of macro '_SetEPTxAddr' #define _SetEPDblBuf0Addr(bEpNum,wBuf0Addr) {_SetEPTxAddr(bEpNum, wBuf0Addr);} ^ targetlibs/stm32f1/usblib/usb_regs.h:555:5: note: in expansion of macro '_SetEPDblBuf0Addr' _SetEPDblBuf0Addr(bEpNum, wBuf0Addr);\ ^ targetlibs/stm32f1/usblib/usb_regs.c:586:3: note: in expansion of macro '_SetEPDblBuffAddr' _SetEPDblBuffAddr(bEpNum, wBuf0Addr, wBuf1Addr); ^ targetlibs/stm32f1/usblib/usb_regs.h:465:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPRxAddr(bEpNum,wAddr) (*_pEPRxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.h:543:46: note: in expansion of macro '_SetEPRxAddr' #define _SetEPDblBuf1Addr(bEpNum,wBuf1Addr) {_SetEPRxAddr(bEpNum, wBuf1Addr);} ^ targetlibs/stm32f1/usblib/usb_regs.h:556:5: note: in expansion of macro '_SetEPDblBuf1Addr' _SetEPDblBuf1Addr(bEpNum, wBuf1Addr);\ ^ targetlibs/stm32f1/usblib/usb_regs.c:586:3: note: in expansion of macro '_SetEPDblBuffAddr' _SetEPDblBuffAddr(bEpNum, wBuf0Addr, wBuf1Addr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPDblBuf0Addr': targetlibs/stm32f1/usblib/usb_regs.h:464:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPTxAddr(bEpNum,wAddr) (*_pEPTxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.h:542:46: note: in expansion of macro '_SetEPTxAddr' #define _SetEPDblBuf0Addr(bEpNum,wBuf0Addr) {_SetEPTxAddr(bEpNum, wBuf0Addr);} ^ targetlibs/stm32f1/usblib/usb_regs.c:598:3: note: in expansion of macro '_SetEPDblBuf0Addr' _SetEPDblBuf0Addr(bEpNum, wBuf0Addr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'SetEPDblBuf1Addr': targetlibs/stm32f1/usblib/usb_regs.h:465:73: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion] #define _SetEPRxAddr(bEpNum,wAddr) (*_pEPRxAddr(bEpNum) = ((wAddr >> 1) << 1)) ^ targetlibs/stm32f1/usblib/usb_regs.h:543:46: note: in expansion of macro '_SetEPRxAddr' #define _SetEPDblBuf1Addr(bEpNum,wBuf1Addr) {_SetEPRxAddr(bEpNum, wBuf1Addr);} ^ targetlibs/stm32f1/usblib/usb_regs.c:610:3: note: in expansion of macro '_SetEPDblBuf1Addr' _SetEPDblBuf1Addr(bEpNum, wBuf1Addr); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'FreeUserBuffer': targetlibs/stm32f1/usblib/usb_regs.h:418:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_TX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:723:5: note: in expansion of macro '_ToggleDTOG_TX' _ToggleDTOG_TX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.h:416:67: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] EP_CTR_RX|EP_CTR_TX|EP_DTOG_RX | (_GetENDPOINT(bEpNum) & EPREG_MASK))) ^ targetlibs/stm32f1/usblib/usb_regs.h:236:15: note: in definition of macro '_SetENDPOINT' (uint16_t)wRegValue) ^ targetlibs/stm32f1/usblib/usb_regs.c:727:5: note: in expansion of macro '_ToggleDTOG_RX' _ToggleDTOG_RX(bEpNum); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ToWord': targetlibs/stm32f1/usblib/usb_regs.c:741:23: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wRet = (uint16_t)bl | ((uint16_t)bh << 8); ^ targetlibs/stm32f1/usblib/usb_regs.c: In function 'ByteSwap': targetlibs/stm32f1/usblib/usb_regs.c:756:23: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wRet = (wSwW >> 8) | ((uint16_t)bTemp << 8); ^ CC targetlibs/stm32f1/usb/usb_desc.o targetlibs/stm32f1/usblib/usb_sil.c: In function 'USB_SIL_Write': targetlibs/stm32f1/usblib/usb_sil.c:72:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] UserToPMABufferCopy(pBufferPointer, GetEPTxAddr(bEpAddr & 0x7F), wBufferSize); ^ targetlibs/stm32f1/usblib/usb_sil.c:75:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] SetEPTxCount((bEpAddr & 0x7F), wBufferSize); ^ targetlibs/stm32f1/usblib/usb_sil.c: In function 'USB_SIL_Read': targetlibs/stm32f1/usblib/usb_sil.c:97:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion] PMAToUserBufferCopy(pBufferPointer, GetEPRxAddr(bEpAddr & 0x7F), DataLength); ^ CC targetlibs/stm32f1/usb/usb_endp.o CC targetlibs/stm32f1/usb/usb_istr.o CC targetlibs/stm32f1/usb/usb_prop.o targetlibs/stm32f1/usb/usb_istr.c: In function 'USB_Istr': targetlibs/stm32f1/usb/usb_istr.c:80:16: warning: unused variable 'EP' [-Wunused-variable] __IO uint32_t EP[8]; ^ targetlibs/stm32f1/usb/usb_istr.c:79:14: warning: unused variable 'i' [-Wunused-variable] uint32_t i=0; ^ targetlibs/stm32f1/usb/usb_endp.c: In function 'Handle_USBAsynchXfer': targetlibs/stm32f1/usb/usb_endp.c:67:7: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] USB_TX_Buffer[USB_Tx_length++] = c; ^ targetlibs/stm32f1/usb/usb_endp.c:81:5: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] UserToPMABufferCopy(&USB_TX_Buffer[0], ENDP1_TXADDR, USB_Tx_length); ^ targetlibs/stm32f1/usb/usb_endp.c:82:5: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] SetEPTxCount(ENDP1, USB_Tx_length); ^ targetlibs/stm32f1/usb/usb_endp.c: In function 'EP1_IN_Callback': targetlibs/stm32f1/usb/usb_endp.c:107:7: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion] USB_TX_Buffer[USB_Tx_length++] = c; ^ targetlibs/stm32f1/usb/usb_endp.c:117:7: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] UserToPMABufferCopy(&USB_TX_Buffer[0], ENDP1_TXADDR, USB_Tx_length); ^ targetlibs/stm32f1/usb/usb_endp.c:118:7: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] SetEPTxCount(ENDP1, USB_Tx_length); ^ targetlibs/stm32f1/usb/usb_endp.c: In function 'EP3_OUT_Callback': targetlibs/stm32f1/usb/usb_endp.c:136:28: warning: conversion to 'int' from 'uint32_t' may change the sign of the result [-Wsign-conversion] USB_Rx_Cnt = USB_SIL_Read(EP3_OUT, USB_Rx_Buffer); ^ targetlibs/stm32f1/usb/usb_endp.c:141:3: warning: pointer targets in passing argument 2 of 'jshPushIOCharEvents' differ in signedness [-Wpointer-sign] jshPushIOCharEvents(EV_USBSERIAL, USB_Rx_Buffer, USB_Rx_Cnt); ^ In file included from /home/mich/Repositories/Espruino/src/jshardware.h:22:0, from targetlibs/stm32f1/usb/usb_endp.c:37: /home/mich/Repositories/Espruino/src/jsdevices.h:92:20: note: expected 'char *' but argument is of type 'uint8_t *' static inline void jshPushIOCharEvents(IOEventFlags channel, char *data, unsigned int count) { ^ targetlibs/stm32f1/usb/usb_endp.c:141:3: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] jshPushIOCharEvents(EV_USBSERIAL, USB_Rx_Buffer, USB_Rx_Cnt); ^ CC targetlibs/stm32f1/usb/usb_pwr.o CC targetlibs/stm32f1/usb/usb_utils.o CC /home/mich/Repositories/Espruino/gen/jspininfo.o targetlibs/stm32f1/usb/usb_pwr.c: In function 'Suspend': targetlibs/stm32f1/usb/usb_pwr.c:143:7: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wCNTR&=~CNTR_FRES; ^ targetlibs/stm32f1/usb/usb_pwr.c:199:14: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wCNTR&=~CNTR_FSUSP; ^ targetlibs/stm32f1/usb/usb_pwr.c: In function 'Resume_Init': targetlibs/stm32f1/usb/usb_pwr.c:232:9: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wCNTR &= (~CNTR_LPMODE); ^ targetlibs/stm32f1/usb/usb_pwr.c: In function 'Resume': targetlibs/stm32f1/usb/usb_pwr.c:304:15: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion] wCNTR &= (~CNTR_RESUME); ^ targetlibs/stm32f1/usb/usb_utils.c: In function 'USB_Init_Hardware': targetlibs/stm32f1/usb/usb_utils.c:85:20: warning: unused variable 'GPIO_InitStructure' [-Wunused-variable] GPIO_InitTypeDef GPIO_InitStructure; ^ targetlibs/stm32f1/usb/usb_utils.c: In function 'IntToUnicode': targetlibs/stm32f1/usb/usb_utils.c:226:37: warning: conversion to 'uint8_t' from 'long unsigned int' may alter its value [-Wconversion] pbuf[ 2* idx] = (value >> 28) + '0'; ^ targetlibs/stm32f1/usb/usb_utils.c:230:42: warning: conversion to 'uint8_t' from 'long unsigned int' may alter its value [-Wconversion] pbuf[2* idx] = (value >> 28) + 'A' - 10; ^ CC targets/stm32/main.o CC targets/stm32/jshardware.o CC targets/stm32/stm32_it.o CC src/jswrap_pin.o targets/stm32/main.c: In function 'main': targets/stm32/main.c:39:29: warning: taking address of expression of type 'void' [enabled by default] SCB->VTOR = (unsigned int)&_VECTOR_TABLE; ^ CC src/jswrap_espruino.o CC src/jswrap_functions.o CC src/jswrap_modules.o src/jswrap_espruino.c: In function 'jswrap_espruino_sum': src/jswrap_espruino.c:82:4: warning: conversion to 'JsVarFloat' from 'JsVarInt' may alter its value [-Wconversion] return useInts ? sumi : sum; ^ CC src/jswrap_process.o CC src/jswrap_interactive.o CC src/jswrap_json.o CC src/jswrap_object.o CC src/jswrap_string.o CC src/jswrap_number.o CC src/jswrap_array.o CC src/jswrap_arraybuffer.o CC src/jswrap_serial.o CC src/jswrap_spi_i2c.o CC src/jswrap_onewire.o CC src/jswrap_waveform.o CC src/jswrap_io.o CC libs/jswrap_fat.o CC libs/jswrap_math.o CC libs/graphics/jswrap_graphics.o CC libs/network/http/jswrap_http.o CC libs/network/cc3000/jswrap_cc3000.o In file included from libs/network/http/httpserver.h:20:0, from libs/network/http/jswrap_http.c:17: /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:418:45: warning: 'struct timeval' declared inside parameter list [enabled by default] fd_set *exceptsds, struct timeval *timeout); ^ /home/mich/Repositories/Espruino/libs/network/cc3000/socket.h:418:45: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] LD espruino_1v54_espruino_1r3.elf GEN espruino_1v54_espruino_1r3.lst GEN espruino_1v54_espruino_1r3.bin bash scripts/check_size.sh espruino_1v54_espruino_1r3.bin PASS - size of 214252 is under 215040 bytes