Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32F429IDISCOVERY support #126

Closed
gfwilliams opened this issue Nov 8, 2013 · 19 comments
Closed

STM32F429IDISCOVERY support #126

gfwilliams opened this issue Nov 8, 2013 · 19 comments

Comments

@gfwilliams
Copy link
Member

http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090

I don't have time for this right now, but it'd be great to port Espruino to it - it's even more of a bargain than the HY boards, and doesn't have to be shipped from China. I believe the LCD display is already supported by the lcd_fsmc driver too.

@thminuth
Copy link
Contributor

I got such a board yesterday and I will try to port Espruino to it. I did some work for the Embedded Pi board from coocox. It is nearly the same as the olimexino stm32 board with different pin outs. I gave it a try by flashing it with the olomexino binary and it works mosty. Communication via serial is working but the pin out is different. So I added an BOARD.py and made changes to the makefile. Unfortunately, the latest repo content seems to be corrupted because I get errors by compiling some of the math libs. I will wait until these bugs are fixed and try then to get it work on teh embedded_pi board.

@gfwilliams
Copy link
Member Author

Hi thminuth,

Maybe do a fresh checkout? As far as I know there haven't been any changes to the Maths lib, and travis (the automatic build) seems to be able to build fine:

https://travis-ci.org/espruino/Espruino

It'd be great if you could look at it. As far as I could tell, the code does run and is looping around, but it didn't look like Serial or USB was initialising properly.

@thminuth
Copy link
Contributor

Hello Gordon,

I just made a fresh checkout and the compiling problem ist still the same. It was working fine with Version 1.4.1. I made no changes (same compiler arm-none-eabi from 2013.05) but now it will not compile. I attached the error output as error.txt and the makefile. I can’t see any errors in the makefile. Please have a lock.

Thanks

Thomas

Am 16.12.2013 um 09:19 schrieb Gordon Williams notifications@github.com:

Hi thminuth,

Maybe do a fresh checkout? As far as I know there haven't been any changes to the Maths lib, and travis (the automatic build) seems to be able to build fine:

https://travis-ci.org/espruino/Espruino

It'd be great if you could look at it. As far as I could tell, the code does run and is looping around, but it didn't look like Serial or USB was initialising properly.


Reply to this email directly or view it on GitHub.

src/jsvar.c: In function 'jsvFindChildFromString':
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c: In function 'jsvStringIteratorAppend':
src/jsvar.c:2281:29: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToInt':
src/jsvar.c:2345:17: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToFloat':
src/jsvar.c:2356:17: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorSetValue':
src/jsvar.c:2403:19: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
src/jsvar.c:2411:19: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvIteratorNew':
src/jsvar.c:2472:19: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
In file included from src/jsutils.c:22:0:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13: warning: conflicting types for built-in function 'clog' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13: warning: conflicting types for built-in function 'cexp' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13: warning: conflicting types for built-in function 'csin' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13: warning: conflicting types for built-in function 'ccos' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13: warning: conflicting types for built-in function 'ctan' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13: warning: conflicting types for built-in function 'casin' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13: warning: conflicting types for built-in function 'cacos' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13: warning: conflicting types for built-in function 'catan' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15: warning: conflicting types for built-in function 'cabs' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13: warning: conflicting types for built-in function 'csqrt' [enabled by default]
src/jsutils.c: In function 'exit':
src/jsutils.c:180:15: warning: unused parameter 'errcode' [-Wunused-parameter]
src/jsutils.c: In function 'memset':
src/jsutils.c:227:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
src/jsutils.c:228:5: warning: conversion to 'unsigned char' from 'int' may alter its value [-Wconversion]
src/jsutils.c: In function 'vcbprintf':
src/jsutils.c:392:9: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
src/jsparse.c: In function 'jspCheckStackPosition':
src/jsparse.c:222:30: warning: taking address of expression of type 'void' [enabled by default]
src/jsparse.c: In function 'jspeStatementFor':
src/jsparse.c:1869:8: warning: 'loopCond' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/jsdevices.c: In function 'jshSetFlowControlXON':
src/jsdevices.c:334:40: warning: unused parameter 'device' [-Wunused-parameter]
src/jsdevices.c:334:53: warning: unused parameter 'hostShouldTransmit' [-Wunused-parameter]
In file included from /home/thminuth/Desktop/espruinogcc/Espruino-master/libs/jswrap_math.h:19:0,
from gen/jswrapper.c:20:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13: warning: conflicting types for built-in function 'clog' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13: warning: conflicting types for built-in function 'cexp' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13: warning: conflicting types for built-in function 'csin' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13: warning: conflicting types for built-in function 'ccos' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13: warning: conflicting types for built-in function 'ctan' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13: warning: conflicting types for built-in function 'casin' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13: warning: conflicting types for built-in function 'cacos' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13: warning: conflicting types for built-in function 'catan' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15: warning: conflicting types for built-in function 'cabs' [enabled by default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13: warning: conflicting types for built-in function 'csqrt' [enabled by default]
gen/jswrapper.c:23:6: warning: multi-character character constant [-Wmultichar]
gen/jswrapper.c: In function 'jswHandleFunctionCall':
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:131:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:202:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:347:79: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:347:110: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:347:142: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:354:76: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:354:107: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:354:139: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:373:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:477:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:606:77: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:606:104: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:613:70: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:613:98: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:613:126: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:613:154: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:619:70: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:619:98: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:619:126: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:619:154: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:637:100: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:637:127: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:651:70: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:651:98: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:651:126: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:651:154: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:658:66: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:658:93: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:664:66: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:664:93: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:672:72: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:672:99: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:672:126: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:714:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:728:73: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:728:103: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:735:73: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:735:103: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:829:64: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:832:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:844:75: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:844:108: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:850:62: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
gen/jswrapper.c:1129:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1135:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1141:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1150:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1158:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gen/jswrapper.c:33:52: warning: unused parameter 'parentName' [-Wunused-parameter]
libs/fat_sd/ff.c: In function 'get_fat':
libs/fat_sd/ff.c:328:42: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'put_fat':
libs/fat_sd/ff.c:374:55: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:380:39: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'dir_seek':
libs/fat_sd/ff.c:554:24: warning: conversion to 'WORD' from 'unsigned int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:560:8: warning: conversion to 'WORD' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'dir_next':
libs/fat_sd/ff.c:588:16: warning: conversion to 'WORD' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:600:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'create_name':
libs/fat_sd/ff.c:1234:6: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1259:16: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1271:17: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'get_fileinfo':
libs/fat_sd/ff.c:1310:37: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1318:38: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1323:16: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'auto_mount':
libs/fat_sd/ff.c:1463:13: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1514:12: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1524:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1532:22: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1542:17: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1557:4: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1558:4: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1559:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1560:21: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_open':
libs/fat_sd/ff.c:1734:14: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_read':
libs/fat_sd/ff.c:1790:25: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1802:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1811:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1829:3: warning: conversion to 'int' from 'UINT' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_write':
libs/fat_sd/ff.c:1891:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1900:25: warning: conversion to 'UINT' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1911:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1914:15: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1941:3: warning: conversion to 'int' from 'UINT' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_sync':
libs/fat_sd/ff.c:1975:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:1988:14: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_lseek':
libs/fat_sd/ff.c:2161:13: warning: conversion to 'BYTE' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_getfree':
libs/fat_sd/ff.c:2350:9: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_mkfs':
libs/fat_sd/ff.c:2831:13: warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2836:13: warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2841:14: warning: conversion to 'DWORD' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_printf':
libs/fat_sd/ff.c:3126:19: warning: conversion to 'UCHAR' from 'int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:3131:3: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:3131:21: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_diskio.c: In function 'disk_initialize':
libs/fat_sd/sdio_diskio.c:30:8: warning: unused parameter 'drv' [-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_status':
libs/fat_sd/sdio_diskio.c:62:8: warning: unused parameter 'drv' [-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_read':
libs/fat_sd/sdio_diskio.c:83:28: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:74:8: warning: unused parameter 'drv' [-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_write':
libs/fat_sd/sdio_diskio.c:107:28: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:98:8: warning: unused parameter 'drv' [-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_ioctl':
libs/fat_sd/sdio_diskio.c:122:8: warning: unused parameter 'drv' [-Wunused-parameter]
libs/fat_sd/sdio_sdcard.c: In function 'SD_GetCardInfo':
libs/fat_sd/sdio_sdcard.c:447:50: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:464:42: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:468:36: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:474:51: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:475:51: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:476:43: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:481:48: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:485:42: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:489:49: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:491:56: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:497:56: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:498:51: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:504:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:505:33: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:512:48: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:517:41: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:532:47: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:533:46: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:543:46: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:544:47: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:545:49: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:550:55: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:557:44: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:558:49: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:559:49: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:560:46: warning: conversion to 'uint8_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:575:38: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:579:32: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:583:36: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:587:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:591:37: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:607:33: warning: conversion to 'uint32_t' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:611:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:615:34: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:624:48: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:628:33: warning: conversion to 'uint16_t' from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'SDEnWideBus':
libs/fat_sd/sdio_sdcard.c:2425:3: warning: conversion to 'uint16_t' from 'uint32_t' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'FindSCR':
libs/fat_sd/sdio_sdcard.c:2686:34: warning: unused parameter 'rca' [-Wunused-parameter]
libs/math/acosh.c:57:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/acosh.c:64:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/acosh.c:128:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/acosh.c:161:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/acosh.c:129:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asin.c:97:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/asin.c:105:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/asin.c:173:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/asin.c:180:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asin.c:282:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asinh.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/asinh.c:54:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/asinh.c:114:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/asinh.c:156:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asinh.c:115:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/atan.c:82:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/atan.c:89:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/atan.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/atan.c:171:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/atan.c:233:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atan.c:172:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/atanh.c:46:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/atanh.c:53:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/atanh.c:118:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/atanh.c:151:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atanh.c:119:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/cbrt.c:46:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/cbrt.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/cbrt.c:48:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/cbrt.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:47:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:47:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/clog.c:48:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:48:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/clog.c:61:8: warning: conflicting types for built-in function 'cabs' [enabled by default]
libs/math/clog.c:64:6: warning: conflicting types for built-in function 'csqrt' [enabled by default]
libs/math/clog.c:66:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:66:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/clog.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:67:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/clog.c:68:6: warning: conflicting types for built-in function 'clog' [enabled by default]
libs/math/clog.c:69:6: warning: conflicting types for built-in function 'casin' [enabled by default]
libs/math/clog.c:70:6: warning: conflicting types for built-in function 'cacos' [enabled by default]
libs/math/clog.c:71:6: warning: conflicting types for built-in function 'catan' [enabled by default]
libs/math/clog.c:142:6: warning: conflicting types for built-in function 'cexp' [enabled by default]
libs/math/clog.c:187:6: warning: conflicting types for built-in function 'csin' [enabled by default]
libs/math/clog.c:255:6: warning: conflicting types for built-in function 'ccos' [enabled by default]
libs/math/clog.c:304:6: warning: conflicting types for built-in function 'ctan' [enabled by default]
libs/math/clog.c:390:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:391:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:392:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:428:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:428:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
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]
libs/math/clog.c: At top level:
libs/math/clog.c:448:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/clog.c:448:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/clog.c:765:1: warning: conflicting types for built-in function 'csinh' [enabled by default]
libs/math/clog.c:805:1: warning: conflicting types for built-in function 'casinh' [enabled by default]
libs/math/clog.c:847:1: warning: conflicting types for built-in function 'ccosh' [enabled by default]
libs/math/clog.c:887:1: warning: conflicting types for built-in function 'cacosh' [enabled by default]
libs/math/clog.c:929:1: warning: conflicting types for built-in function 'ctanh' [enabled by default]
libs/math/clog.c:971:1: warning: conflicting types for built-in function 'catanh' [enabled by default]
libs/math/clog.c:1018:1: warning: conflicting types for built-in function 'cpow' [enabled by default]
libs/math/cmplx.c:76:15: warning: conflicting types for built-in function 'cabs' [enabled by default]
libs/math/cmplx.c:390:6: warning: conflicting types for built-in function 'csqrt' [enabled by default]
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]
libs/math/exp10.c:58:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp10.c:64:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp10.c:71:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp10.c:72:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp10.c:73:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp10.c:75:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/exp10.c:215:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:160:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/exp10.c:216:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:161:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/exp2.c:62:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp2.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/exp2.c:176:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:122:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/exp2.c:177:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:123:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/exp.c:69:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp.c:74:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp.c:80:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp.c:81:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/exp.c: In function 'exp':
libs/math/exp.c:187:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/exp.c:196:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/exp.c:197:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of type 'const double *'
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]
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]
libs/math/floor.c:448:5: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/math/floor.c:449:5: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/math/log10.c:56:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log10.c:65:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/log10.c:147:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log10.c:236:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log10.c:148:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log2.c:59:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log2.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log2.c:148:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log2.c:153:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log2.c:307:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log.c:61:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log.c:69:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log.c:143:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/log.c:148:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/log.c:198:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log.c:301:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:198:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/mtherr.c: In function 'mtherr':
libs/math/mtherr.c:79:7: warning: unused parameter 'name' [-Wunused-parameter]
libs/math/mtherr.c:80:5: warning: unused parameter 'code' [-Wunused-parameter]
libs/math/mtherr.c: At top level:
libs/math/mtherr.c:67:14: warning: 'ermsg' defined but not used [-Wunused-variable]
libs/math/pow.c:61:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:67:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:75:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:94:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:105:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:348:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:348:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/pow.c: In function 'pow':
libs/math/pow.c:542:2: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/pow.c:630:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/pow.c:630:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:343:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/pow.c:701:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/pow.c:715:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/pow.c: At top level:
libs/math/pow.c:747:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/pow.c:747:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/sin.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c:107:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c:108:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c:109:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c:208:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sin.c: In function 'sin':
libs/math/sin.c:257:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/sin.c:279:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sin.c:284:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *'
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]
libs/math/sin.c:355:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sin.c:359:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sin.c: At top level:
libs/math/sin.c:379:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sincos.c:134:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sincos.c:235:5: warning: conflicting types for built-in function 'sincos' [enabled by default]
libs/math/sincos.c: In function 'sincos':
libs/math/sincos.c:261:8: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/sindg.c:83:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sindg.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sindg.c:100:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sindg.c:101:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sindg.c: In function 'sindg':
libs/math/sindg.c:213:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/sindg.c:234:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sindg.c:238:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sindg.c: In function 'cosdg':
libs/math/sindg.c:274:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/sindg.c:297:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sindg.c:301:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sinh.c:43:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/sinh.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/sinh.c:104:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/sinh.c:147:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sinh.c:105:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tan.c:85:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:90:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:97:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:98:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:99:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:100:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:189:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:189:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/tan.c:232:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tan.c:232:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/tan.c: In function 'tancot':
libs/math/tan.c:269:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/tan.c:283:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:183:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tan.c:283:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:184:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tandg.c:78:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:83:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:90:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:91:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:154:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:154:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/tandg.c:179:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tandg.c:179:21: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
libs/math/tandg.c: In function 'tancot':
libs/math/tandg.c:213:1: warning: conversion to 'int' from 'double' may alter its value [-Wconversion]
libs/math/tandg.c:228:2: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:150:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tandg.c:228:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:151:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tanh.c:44:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/tanh.c:49:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/tanh.c:100:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/tanh.c:136:2: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tanh.c:101:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/unity.c:34:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/unity.c:43:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/unity.c:65:1: warning: passing argument 2 of 'p1evl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:19:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:77:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
libs/math/unity.c:82:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/unity.c:108:1: warning: passing argument 2 of 'polevl' discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:116:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of type 'const double *'
libs/graphics/graphics.c: In function 'graphicsFallbackSetPixel':
libs/graphics/graphics.c:33:43: warning: unused parameter 'gfx' [-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackGetPixel':
libs/graphics/graphics.c:39:51: warning: unused parameter 'gfx' [-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackBitmap1bit':
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:27: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsSetPixel':
libs/graphics/graphics.c:123:50: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c: In function 'graphicsDrawLine':
libs/graphics/graphics.c:197:35: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c:210:32: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsVectorCharWidth':
libs/graphics/graphics.c:356:50: warning: unused parameter 'gfx' [-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFillVectorString':
libs/graphics/graphics.c:366:5: warning: conversion to 'unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdGetPixelIndex_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:20:33: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdGetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:38:59: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:39:28: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:43:13: warning: conversion to 'unsigned int' from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdSetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:62:59: warning: conversion to 'int' from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:63:7: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:63:59: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'LCD_WR_Data_multi':
libs/graphics/lcd_fsmc.c:176:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
libs/graphics/lcd_fsmc.c: In function 'LCD_init_panel':
libs/graphics/lcd_fsmc.c:253:25: warning: conversion to 'uint16_t' from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:949:26: warning: conversion to 'uint16_t' from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetCursor':
libs/graphics/lcd_fsmc.c:1126:26: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetWindow':
libs/graphics/lcd_fsmc.c:1159:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1160:27: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1170:29: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetFullWindow':
libs/graphics/lcd_fsmc.c:1191:39: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1191:58: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdFillRect_FSMC':
libs/graphics/lcd_fsmc.c:1208:46: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1209:48: warning: conversion to 'short int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1212:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1212:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1214:30: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1214:18: warning: unused variable 'i' [-Wunused-variable]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1218:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1218:5: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1220:34: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1220:18: warning: unused variable 'i' [-Wunused-variable]
libs/graphics/lcd_fsmc.c: In function 'lcdBitmap1bit_FSMC':
libs/graphics/lcd_fsmc.c:1228:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1228:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1228:34: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1228:46: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1229:28: warning: conversion to 'short unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1229:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1234:24: warning: conversion to 'int' from 'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'lcdGetPixel_FSMC':
libs/graphics/lcd_fsmc.c:1243:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1243:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetPixel_FSMC':
libs/graphics/lcd_fsmc.c:1251:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1251:3: warning: conversion to 'short unsigned int' from 'short int' may change the sign of the result [-Wsign-conversion]
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]
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]
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]
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]
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]
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]
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]
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]
targetlibs/stm32f1/lib/stm32f10x_can.c:706:38: warning: conversion to 'uint8_t' from 'long unsigned int' may alter it

@gfwilliams
Copy link
Member Author

That's odd - I can't see any errors in there either. The warnings in the
math library are expected - I wouldn't worry about those.

What command are you using to compile?

  • Gordon

On 16/12/13 10:05, thminuth wrote:

Hello Gordon,

I just made a fresh checkout and the compiling problem ist still the
same. It was working fine with Version 1.4.1. I made no changes (same
compiler arm-none-eabi from 2013.05) but now it will not compile. I
attached the error output as error.txt and the makefile. I can’t see
any errors in the makefile. Please have a lock.

Thanks

Thomas

Am 16.12.2013 um 09:19 schrieb Gordon Williams
notifications@github.com:

Hi thminuth,

Maybe do a fresh checkout? As far as I know there haven't been any
changes to the Maths lib, and travis (the automatic build) seems to be
able to build fine:

https://travis-ci.org/espruino/Espruino

It'd be great if you could look at it. As far as I could tell, the
code does run and is looping around, but it didn't look like Serial or
USB was initialising properly.


Reply to this email directly or view it on GitHub.

src/jsvar.c: In function 'jsvFindChildFromString':
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c: In function 'jsvStringIteratorAppend':
src/jsvar.c:2281:29: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToInt':
src/jsvar.c:2345:17: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToFloat':
src/jsvar.c:2356:17: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorSetValue':
src/jsvar.c:2403:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c:2411:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvIteratorNew':
src/jsvar.c:2472:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
In file included from src/jsutils.c:22:0:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13:
warning: conflicting types for built-in function 'clog' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13:
warning: conflicting types for built-in function 'cexp' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13:
warning: conflicting types for built-in function 'csin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13:
warning: conflicting types for built-in function 'ccos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13:
warning: conflicting types for built-in function 'ctan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13:
warning: conflicting types for built-in function 'casin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13:
warning: conflicting types for built-in function 'cacos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13:
warning: conflicting types for built-in function 'catan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15:
warning: conflicting types for built-in function 'cabs' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13:
warning: conflicting types for built-in function 'csqrt' [enabled by
default]
src/jsutils.c: In function 'exit':
src/jsutils.c:180:15: warning: unused parameter 'errcode'
[-Wunused-parameter]
src/jsutils.c: In function 'memset':
src/jsutils.c:227:13: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
src/jsutils.c:228:5: warning: conversion to 'unsigned char' from 'int'
may alter its value [-Wconversion]
src/jsutils.c: In function 'vcbprintf':
src/jsutils.c:392:9: warning: conversion to 'unsigned int' from 'int'
may change the sign of the result [-Wsign-conversion]
src/jsparse.c: In function 'jspCheckStackPosition':
src/jsparse.c:222:30: warning: taking address of expression of type
'void' [enabled by default]
src/jsparse.c: In function 'jspeStatementFor':
src/jsparse.c:1869:8: warning: 'loopCond' may be used uninitialized in
this function [-Wmaybe-uninitialized]
src/jsdevices.c: In function 'jshSetFlowControlXON':
src/jsdevices.c:334:40: warning: unused parameter 'device'
[-Wunused-parameter]
src/jsdevices.c:334:53: warning: unused parameter 'hostShouldTransmit'
[-Wunused-parameter]
In file included from
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/jswrap_math.h:19:0,
from gen/jswrapper.c:20:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13:
warning: conflicting types for built-in function 'clog' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13:
warning: conflicting types for built-in function 'cexp' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13:
warning: conflicting types for built-in function 'csin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13:
warning: conflicting types for built-in function 'ccos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13:
warning: conflicting types for built-in function 'ctan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13:
warning: conflicting types for built-in function 'casin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13:
warning: conflicting types for built-in function 'cacos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13:
warning: conflicting types for built-in function 'catan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15:
warning: conflicting types for built-in function 'cabs' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13:
warning: conflicting types for built-in function 'csqrt' [enabled by
default]
gen/jswrapper.c:23:6: warning: multi-character character constant
[-Wmultichar]
gen/jswrapper.c: In function 'jswHandleFunctionCall':
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:131:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:202:9: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:347:79: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:347:110: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:347:142: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:76: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:107: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:139: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:373:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:477:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:606:77: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:606:104: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:637:100: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:637:127: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:658:66: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:658:93: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:664:66: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:664:93: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:72: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:99: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:714:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:728:73: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:728:103: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:735:73: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:735:103: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:829:64: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:832:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:844:75: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:844:108: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:850:62: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:1129:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1135:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1141:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1150:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1158:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1166:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:33:52: warning: unused parameter 'parentName'
[-Wunused-parameter]
libs/fat_sd/ff.c: In function 'get_fat':
libs/fat_sd/ff.c:328:42: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'put_fat':
libs/fat_sd/ff.c:374:55: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:380:39: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'dir_seek':
libs/fat_sd/ff.c:554:24: warning: conversion to 'WORD' from 'unsigned
int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:560:8: warning: conversion to 'WORD' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'dir_next':
libs/fat_sd/ff.c:588:16: warning: conversion to 'WORD' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:600:50: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'create_name':
libs/fat_sd/ff.c:1234:6: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1259:16: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1271:17: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'get_fileinfo':
libs/fat_sd/ff.c:1310:37: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1318:38: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1323:16: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'auto_mount':
libs/fat_sd/ff.c:1463:13: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1514:12: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1524:22: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1532:22: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1542:17: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1557:4: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1558:4: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1559:21: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1560:21: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_open':
libs/fat_sd/ff.c:1734:14: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_read':
libs/fat_sd/ff.c:1790:25: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1802:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1811:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1829:3: warning: conversion to 'int' from 'UINT' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_write':
libs/fat_sd/ff.c:1891:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1900:25: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1911:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1914:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1941:3: warning: conversion to 'int' from 'UINT' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_sync':
libs/fat_sd/ff.c:1975:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1988:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_lseek':
libs/fat_sd/ff.c:2161:13: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_getfree':
libs/fat_sd/ff.c:2350:9: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_mkfs':
libs/fat_sd/ff.c:2831:13: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2836:13: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2841:14: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_printf':
libs/fat_sd/ff.c:3126:19: warning: conversion to 'UCHAR' from 'int'
may alter its value [-Wconversion]
libs/fat_sd/ff.c:3131:3: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:3131:21: warning: conversion to 'int' from 'unsigned
int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_diskio.c: In function 'disk_initialize':
libs/fat_sd/sdio_diskio.c:30:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_status':
libs/fat_sd/sdio_diskio.c:62:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_read':
libs/fat_sd/sdio_diskio.c:83:28: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:74:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_write':
libs/fat_sd/sdio_diskio.c:107:28: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:98:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_ioctl':
libs/fat_sd/sdio_diskio.c:122:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_sdcard.c: In function 'SD_GetCardInfo':
libs/fat_sd/sdio_sdcard.c:447:50: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:464:42: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:468:36: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:474:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:475:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:476:43: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:481:48: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:485:42: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:489:49: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:491:56: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:497:56: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:498:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:504:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:505:33: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:512:48: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:517:41: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:532:47: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:533:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:543:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:544:47: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:545:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:550:55: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:557:44: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:558:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:559:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:560:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:575:38: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:579:32: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:583:36: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:587:37: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:591:37: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:607:33: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:611:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:615:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:624:48: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:628:33: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'SDEnWideBus':
libs/fat_sd/sdio_sdcard.c:2425:3: warning: conversion to 'uint16_t'
from 'uint32_t' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'FindSCR':
libs/fat_sd/sdio_sdcard.c:2686:34: warning: unused parameter 'rca'
[-Wunused-parameter]
libs/math/acosh.c:57:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/acosh.c:64:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/acosh.c:128:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/acosh.c:161:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/acosh.c:129:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:97:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:105:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:173:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:180:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:282:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asinh.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asinh.c:54:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/asinh.c:114:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asinh.c:156:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asinh.c:115:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atan.c:82:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atan.c:89:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atan.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/atan.c:171:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atan.c:233:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atan.c:172:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atanh.c:46:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atanh.c:53:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/atanh.c:118:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atanh.c:151:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atanh.c:119:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/cbrt.c:46:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:48:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:47:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:48:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:48:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:61:8: warning: conflicting types for built-in
function 'cabs' [enabled by default]
libs/math/clog.c:64:6: warning: conflicting types for built-in
function 'csqrt' [enabled by default]
libs/math/clog.c:66:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:66:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:67:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:68:6: warning: conflicting types for built-in
function 'clog' [enabled by default]
libs/math/clog.c:69:6: warning: conflicting types for built-in
function 'casin' [enabled by default]
libs/math/clog.c:70:6: warning: conflicting types for built-in
function 'cacos' [enabled by default]
libs/math/clog.c:71:6: warning: conflicting types for built-in
function 'catan' [enabled by default]
libs/math/clog.c:142:6: warning: conflicting types for built-in
function 'cexp' [enabled by default]
libs/math/clog.c:187:6: warning: conflicting types for built-in
function 'csin' [enabled by default]
libs/math/clog.c:255:6: warning: conflicting types for built-in
function 'ccos' [enabled by default]
libs/math/clog.c:304:6: warning: conflicting types for built-in
function 'ctan' [enabled by default]
libs/math/clog.c:390:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:391:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:392:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:428:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:428:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
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]
libs/math/clog.c: At top level:
libs/math/clog.c:448:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:448:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:765:1: warning: conflicting types for built-in
function 'csinh' [enabled by default]
libs/math/clog.c:805:1: warning: conflicting types for built-in
function 'casinh' [enabled by default]
libs/math/clog.c:847:1: warning: conflicting types for built-in
function 'ccosh' [enabled by default]
libs/math/clog.c:887:1: warning: conflicting types for built-in
function 'cacosh' [enabled by default]
libs/math/clog.c:929:1: warning: conflicting types for built-in
function 'ctanh' [enabled by default]
libs/math/clog.c:971:1: warning: conflicting types for built-in
function 'catanh' [enabled by default]
libs/math/clog.c:1018:1: warning: conflicting types for built-in
function 'cpow' [enabled by default]
libs/math/cmplx.c:76:15: warning: conflicting types for built-in
function 'cabs' [enabled by default]
libs/math/cmplx.c:390:6: warning: conflicting types for built-in
function 'csqrt' [enabled by default]
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]
libs/math/exp10.c:58:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:64:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:71:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:72:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:73:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:75:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/exp10.c:215:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:160:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp10.c:216:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:161:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp2.c:62:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp2.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/exp2.c:176:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:122:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp2.c:177:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:123:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp.c:69:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:74:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:80:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:81:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c: In function 'exp':
libs/math/exp.c:187:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/exp.c:196:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp.c:197:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of
type 'const double *'
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]
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]
libs/math/floor.c:448:5: warning: conversion to 'short int' from 'int'
may alter its value [-Wconversion]
libs/math/floor.c:449:5: warning: conversion to 'short int' from 'int'
may alter its value [-Wconversion]
libs/math/log10.c:56:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log10.c:65:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log10.c:147:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log10.c:236:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log10.c:148:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:59:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:148:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:153:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:307:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:61:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:69:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:143:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:148:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log.c:198:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:301:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:198:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/mtherr.c: In function 'mtherr':
libs/math/mtherr.c:79:7: warning: unused parameter 'name'
[-Wunused-parameter]
libs/math/mtherr.c:80:5: warning: unused parameter 'code'
[-Wunused-parameter]
libs/math/mtherr.c: At top level:
libs/math/mtherr.c:67:14: warning: 'ermsg' defined but not used
[-Wunused-variable]
libs/math/pow.c:61:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:75:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:94:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:105:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:348:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:348:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/pow.c: In function 'pow':
libs/math/pow.c:542:2: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/pow.c:630:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c:630:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:343:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c:701:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/pow.c:715:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c: At top level:
libs/math/pow.c:747:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:747:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/sin.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:107:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:108:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:109:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:208:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c: In function 'sin':
libs/math/sin.c:257:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/sin.c:279:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c:284:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
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]
libs/math/sin.c:355:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c:359:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c: At top level:
libs/math/sin.c:379:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sincos.c:134:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sincos.c:235:5: warning: conflicting types for built-in
function 'sincos' [enabled by default]
libs/math/sincos.c: In function 'sincos':
libs/math/sincos.c:261:8: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:83:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:100:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:101:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c: In function 'sindg':
libs/math/sindg.c:213:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:234:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c:238:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c: In function 'cosdg':
libs/math/sindg.c:274:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:297:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c:301:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sinh.c:43:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sinh.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/sinh.c:104:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sinh.c:147:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sinh.c:105:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tan.c:85:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:90:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:97:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:98:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:100:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:189:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:189:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tan.c:232:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:232:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tan.c: In function 'tancot':
libs/math/tan.c:269:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/tan.c:283:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:183:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tan.c:283:2: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:184:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tandg.c:78:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:83:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:90:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:154:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:154:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tandg.c:179:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:179:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tandg.c: In function 'tancot':
libs/math/tandg.c:213:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/tandg.c:228:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:150:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tandg.c:228:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:151:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tanh.c:44:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tanh.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/tanh.c:100:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tanh.c:136:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tanh.c:101:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:34:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/unity.c:43:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:65:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:19:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:77:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/unity.c:82:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:108:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:116:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/graphics/graphics.c: In function 'graphicsFallbackSetPixel':
libs/graphics/graphics.c:33:43: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackGetPixel':
libs/graphics/graphics.c:39:51: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackBitmap1bit':
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:27: warning: conversion to 'int' from
'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from
'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from
'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsSetPixel':
libs/graphics/graphics.c:123:50: warning: conversion to 'unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c: In function 'graphicsDrawLine':
libs/graphics/graphics.c:197:35: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c:210:32: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsVectorCharWidth':
libs/graphics/graphics.c:356:50: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFillVectorString':
libs/graphics/graphics.c:366:5: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c: In function
'lcdGetPixelIndex_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:20:33: warning: conversion to 'short
int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdGetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:38:59: warning: conversion to 'int'
from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:39:28: warning: conversion to
'unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:43:13: warning: conversion to
'unsigned int' from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdSetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:62:59: warning: conversion to 'int'
from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:63:7: warning: conversion to 'unsigned
int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:63:59: warning: conversion to
'unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'LCD_WR_Data_multi':
libs/graphics/lcd_fsmc.c:176:13: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
libs/graphics/lcd_fsmc.c: In function 'LCD_init_panel':
libs/graphics/lcd_fsmc.c:253:25: warning: conversion to 'uint16_t'
from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:949:26: warning: conversion to 'uint16_t'
from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetCursor':
libs/graphics/lcd_fsmc.c:1126:26: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetWindow':
libs/graphics/lcd_fsmc.c:1159:27: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1160:27: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1170:29: warning: conversion to 'unsigned
int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetFullWindow':
libs/graphics/lcd_fsmc.c:1191:39: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1191:58: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdFillRect_FSMC':
libs/graphics/lcd_fsmc.c:1208:46: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1209:48: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1212:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1212:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1214:30: warning: conversion to 'unsigned
int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1214:18: warning: unused variable 'i'
[-Wunused-variable]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1217:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1218:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1218:5: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1220:34: warning: conversion to 'unsigned
int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1220:18: warning: unused variable 'i'
[-Wunused-variable]
libs/graphics/lcd_fsmc.c: In function 'lcdBitmap1bit_FSMC':
libs/graphics/lcd_fsmc.c:1228:3: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1228:3: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1228:34: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1228:46: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1229:28: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1229:3: warning: conversion to 'short
unsigned int' from 'short int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c:1234:24: warning: conversion to 'int' from
'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'lcdGetPixel_FSMC':

@thminuth
Copy link
Contributor

Just the make command. I tried make, sudo make with and without parameters

Dipl. Ing. Elektr. Technik
MBA (USA)
PMP (PMI)

Thomas Minuth
Sollnerstr. 52

81479 München

Am 16.12.2013 um 11:56 schrieb Gordon Williams notifications@github.com:

That's odd - I can't see any errors in there either. The warnings in the
math library are expected - I wouldn't worry about those.

What command are you using to compile?

  • Gordon

On 16/12/13 10:05, thminuth wrote:

Hello Gordon,

I just made a fresh checkout and the compiling problem ist still the
same. It was working fine with Version 1.4.1. I made no changes (same
compiler arm-none-eabi from 2013.05) but now it will not compile. I
attached the error output as error.txt and the makefile. I can’t see
any errors in the makefile. Please have a lock.

Thanks

Thomas

Am 16.12.2013 um 09:19 schrieb Gordon Williams
notifications@github.com:

Hi thminuth,

Maybe do a fresh checkout? As far as I know there haven't been any
changes to the Maths lib, and travis (the automatic build) seems to be
able to build fine:

https://travis-ci.org/espruino/Espruino

It'd be great if you could look at it. As far as I could tell, the
code does run and is looping around, but it didn't look like Serial or
USB was initialising properly.


Reply to this email directly or view it on GitHub.

src/jsvar.c: In function 'jsvFindChildFromString':
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c:1418:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
src/jsvar.c: In function 'jsvStringIteratorAppend':
src/jsvar.c:2281:29: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToInt':
src/jsvar.c:2345:17: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorDataToFloat':
src/jsvar.c:2356:17: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvArrayBufferIteratorSetValue':
src/jsvar.c:2403:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c:2411:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
src/jsvar.c: In function 'jsvIteratorNew':
src/jsvar.c:2472:19: warning: suggest braces around empty body in an
'else' statement [-Wempty-body]
In file included from src/jsutils.c:22:0:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13:
warning: conflicting types for built-in function 'clog' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13:
warning: conflicting types for built-in function 'cexp' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13:
warning: conflicting types for built-in function 'csin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13:
warning: conflicting types for built-in function 'ccos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13:
warning: conflicting types for built-in function 'ctan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13:
warning: conflicting types for built-in function 'casin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13:
warning: conflicting types for built-in function 'cacos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13:
warning: conflicting types for built-in function 'catan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15:
warning: conflicting types for built-in function 'cabs' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13:
warning: conflicting types for built-in function 'csqrt' [enabled by
default]
src/jsutils.c: In function 'exit':
src/jsutils.c:180:15: warning: unused parameter 'errcode'
[-Wunused-parameter]
src/jsutils.c: In function 'memset':
src/jsutils.c:227:13: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
src/jsutils.c:228:5: warning: conversion to 'unsigned char' from 'int'
may alter its value [-Wconversion]
src/jsutils.c: In function 'vcbprintf':
src/jsutils.c:392:9: warning: conversion to 'unsigned int' from 'int'
may change the sign of the result [-Wsign-conversion]
src/jsparse.c: In function 'jspCheckStackPosition':
src/jsparse.c:222:30: warning: taking address of expression of type
'void' [enabled by default]
src/jsparse.c: In function 'jspeStatementFor':
src/jsparse.c:1869:8: warning: 'loopCond' may be used uninitialized in
this function [-Wmaybe-uninitialized]
src/jsdevices.c: In function 'jshSetFlowControlXON':
src/jsdevices.c:334:40: warning: unused parameter 'device'
[-Wunused-parameter]
src/jsdevices.c:334:53: warning: unused parameter 'hostShouldTransmit'
[-Wunused-parameter]
In file included from
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/jswrap_math.h:19:0,
from gen/jswrapper.c:20:
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:26:13:
warning: conflicting types for built-in function 'clog' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:27:13:
warning: conflicting types for built-in function 'cexp' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:28:13:
warning: conflicting types for built-in function 'csin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:29:13:
warning: conflicting types for built-in function 'ccos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:30:13:
warning: conflicting types for built-in function 'ctan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:32:13:
warning: conflicting types for built-in function 'casin' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:33:13:
warning: conflicting types for built-in function 'cacos' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:34:13:
warning: conflicting types for built-in function 'catan' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:41:15:
warning: conflicting types for built-in function 'cabs' [enabled by
default]
/home/thminuth/Desktop/espruinogcc/Espruino-master/libs/math/protos.h:42:13:
warning: conflicting types for built-in function 'csqrt' [enabled by
default]
gen/jswrapper.c:23:6: warning: multi-character character constant
[-Wmultichar]
gen/jswrapper.c: In function 'jswHandleFunctionCall':
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:77:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:131:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:146:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:161:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:169:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:198:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:202:9: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:331:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:341:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:347:79: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:347:110: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:347:142: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:76: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:107: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:354:139: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:360:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:373:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:477:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:594:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:606:77: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:606:104: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:613:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:619:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:637:100: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:637:127: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:70: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:98: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:651:154: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:658:66: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:658:93: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:664:66: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:664:93: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:72: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:99: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:672:126: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:714:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:728:73: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:728:103: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:735:73: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:735:103: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:748:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:792:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:829:64: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:832:5: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
gen/jswrapper.c:844:75: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:844:108: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:850:62: warning: conversion to 'int' from 'JsVarInt'
may alter its value [-Wconversion]
gen/jswrapper.c:1129:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1135:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1141:52: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1150:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1158:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:1166:13: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast]
gen/jswrapper.c:33:52: warning: unused parameter 'parentName'
[-Wunused-parameter]
libs/fat_sd/ff.c: In function 'get_fat':
libs/fat_sd/ff.c:328:42: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:333:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:337:10: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'put_fat':
libs/fat_sd/ff.c:374:55: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:380:39: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:386:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:392:4: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'dir_seek':
libs/fat_sd/ff.c:554:24: warning: conversion to 'WORD' from 'unsigned
int' may alter its value [-Wconversion]
libs/fat_sd/ff.c:560:8: warning: conversion to 'WORD' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'dir_next':
libs/fat_sd/ff.c:588:16: warning: conversion to 'WORD' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:600:50: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'create_name':
libs/fat_sd/ff.c:1234:6: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1259:16: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1271:17: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'get_fileinfo':
libs/fat_sd/ff.c:1310:37: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1318:38: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1323:16: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'auto_mount':
libs/fat_sd/ff.c:1463:13: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1514:12: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1524:22: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1532:22: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1542:17: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1557:4: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1558:4: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1559:21: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1560:21: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_open':
libs/fat_sd/ff.c:1734:14: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_read':
libs/fat_sd/ff.c:1790:25: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1802:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1811:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1829:3: warning: conversion to 'int' from 'UINT' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_write':
libs/fat_sd/ff.c:1891:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1900:25: warning: conversion to 'UINT' from 'int' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:1911:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1914:15: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1941:3: warning: conversion to 'int' from 'UINT' may
change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_sync':
libs/fat_sd/ff.c:1975:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c:1988:14: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_lseek':
libs/fat_sd/ff.c:2161:13: warning: conversion to 'BYTE' from 'int' may
alter its value [-Wconversion]
libs/fat_sd/ff.c: In function 'f_getfree':
libs/fat_sd/ff.c:2350:9: warning: conversion to 'long unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_mkfs':
libs/fat_sd/ff.c:2831:13: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2836:13: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:2841:14: warning: conversion to 'DWORD' from 'int'
may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c: In function 'f_printf':
libs/fat_sd/ff.c:3126:19: warning: conversion to 'UCHAR' from 'int'
may alter its value [-Wconversion]
libs/fat_sd/ff.c:3131:3: warning: conversion to 'unsigned int' from
'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/ff.c:3131:21: warning: conversion to 'int' from 'unsigned
int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_diskio.c: In function 'disk_initialize':
libs/fat_sd/sdio_diskio.c:30:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_status':
libs/fat_sd/sdio_diskio.c:62:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_read':
libs/fat_sd/sdio_diskio.c:83:28: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:74:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_write':
libs/fat_sd/sdio_diskio.c:107:28: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_diskio.c:98:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_diskio.c: In function 'disk_ioctl':
libs/fat_sd/sdio_diskio.c:122:8: warning: unused parameter 'drv'
[-Wunused-parameter]
libs/fat_sd/sdio_sdcard.c: In function 'SD_GetCardInfo':
libs/fat_sd/sdio_sdcard.c:447:50: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:464:42: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:468:36: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:474:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:475:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:476:43: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:481:48: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:485:42: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:489:49: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:491:56: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:497:56: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:498:51: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:504:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:505:33: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:512:48: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:517:41: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:532:47: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:533:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:543:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:544:47: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:545:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:550:55: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:557:44: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:558:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:559:49: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:560:46: warning: conversion to 'uint8_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:575:38: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:579:32: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:583:36: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:587:37: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:591:37: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:607:33: warning: conversion to 'uint32_t'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:611:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:615:34: warning: conversion to 'long
unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/fat_sd/sdio_sdcard.c:624:48: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c:628:33: warning: conversion to 'uint16_t'
from 'int' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'SDEnWideBus':
libs/fat_sd/sdio_sdcard.c:2425:3: warning: conversion to 'uint16_t'
from 'uint32_t' may alter its value [-Wconversion]
libs/fat_sd/sdio_sdcard.c: In function 'FindSCR':
libs/fat_sd/sdio_sdcard.c:2686:34: warning: unused parameter 'rca'
[-Wunused-parameter]
libs/math/acosh.c:57:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/acosh.c:64:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/acosh.c:128:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/acosh.c:161:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/acosh.c:129:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:97:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:105:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:173:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asin.c:180:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:282:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:245:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asin.c:296:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asin.c:246:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asinh.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/asinh.c:54:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/asinh.c:114:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/asinh.c:156:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/asinh.c:115:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atan.c:82:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atan.c:89:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atan.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/atan.c:171:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atan.c:233:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atan.c:172:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atanh.c:46:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/atanh.c:53:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/atanh.c:118:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/atanh.c:151:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/atanh.c:119:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/cbrt.c:46:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:48:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/cbrt.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:47:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:47:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:48:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:48:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:61:8: warning: conflicting types for built-in
function 'cabs' [enabled by default]
libs/math/clog.c:64:6: warning: conflicting types for built-in
function 'csqrt' [enabled by default]
libs/math/clog.c:66:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:66:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:67:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:68:6: warning: conflicting types for built-in
function 'clog' [enabled by default]
libs/math/clog.c:69:6: warning: conflicting types for built-in
function 'casin' [enabled by default]
libs/math/clog.c:70:6: warning: conflicting types for built-in
function 'cacos' [enabled by default]
libs/math/clog.c:71:6: warning: conflicting types for built-in
function 'catan' [enabled by default]
libs/math/clog.c:142:6: warning: conflicting types for built-in
function 'cexp' [enabled by default]
libs/math/clog.c:187:6: warning: conflicting types for built-in
function 'csin' [enabled by default]
libs/math/clog.c:255:6: warning: conflicting types for built-in
function 'ccos' [enabled by default]
libs/math/clog.c:304:6: warning: conflicting types for built-in
function 'ctan' [enabled by default]
libs/math/clog.c:390:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:391:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:392:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:428:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:428:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
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]
libs/math/clog.c: At top level:
libs/math/clog.c:448:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/clog.c:448:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/clog.c:765:1: warning: conflicting types for built-in
function 'csinh' [enabled by default]
libs/math/clog.c:805:1: warning: conflicting types for built-in
function 'casinh' [enabled by default]
libs/math/clog.c:847:1: warning: conflicting types for built-in
function 'ccosh' [enabled by default]
libs/math/clog.c:887:1: warning: conflicting types for built-in
function 'cacosh' [enabled by default]
libs/math/clog.c:929:1: warning: conflicting types for built-in
function 'ctanh' [enabled by default]
libs/math/clog.c:971:1: warning: conflicting types for built-in
function 'catanh' [enabled by default]
libs/math/clog.c:1018:1: warning: conflicting types for built-in
function 'cpow' [enabled by default]
libs/math/cmplx.c:76:15: warning: conflicting types for built-in
function 'cabs' [enabled by default]
libs/math/cmplx.c:390:6: warning: conflicting types for built-in
function 'csqrt' [enabled by default]
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]
libs/math/exp10.c:58:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:64:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:71:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:72:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:73:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp10.c:75:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/exp10.c:215:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:160:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp10.c:216:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp10.c:161:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp2.c:62:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp2.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/exp2.c:176:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:122:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp2.c:177:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp2.c:123:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp.c:69:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:74:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:80:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c:81:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/exp.c: In function 'exp':
libs/math/exp.c:187:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/exp.c:196:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/exp.c:197:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/exp.c:139:15: note: expected 'void *' but argument is of
type 'const double *'
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]
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]
libs/math/floor.c:448:5: warning: conversion to 'short int' from 'int'
may alter its value [-Wconversion]
libs/math/floor.c:449:5: warning: conversion to 'short int' from 'int'
may alter its value [-Wconversion]
libs/math/log10.c:56:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log10.c:65:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log10.c:147:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log10.c:236:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log10.c:148:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:59:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:148:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log2.c:153:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:307:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:207:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log2.c:329:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log2.c:208:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:61:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:69:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:143:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/log.c:148:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/log.c:198:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:301:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:198:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/log.c:329:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/log.c:199:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/mtherr.c: In function 'mtherr':
libs/math/mtherr.c:79:7: warning: unused parameter 'name'
[-Wunused-parameter]
libs/math/mtherr.c:80:5: warning: unused parameter 'code'
[-Wunused-parameter]
libs/math/mtherr.c: At top level:
libs/math/mtherr.c:67:14: warning: 'ermsg' defined but not used
[-Wunused-variable]
libs/math/pow.c:61:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:67:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:75:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:94:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:105:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:348:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:348:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/pow.c: In function 'pow':
libs/math/pow.c:542:2: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/pow.c:630:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c:630:1: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:343:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c:701:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/pow.c:715:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/pow.c:342:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/pow.c: At top level:
libs/math/pow.c:747:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/pow.c:747:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/sin.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:107:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:108:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:109:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c:208:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sin.c: In function 'sin':
libs/math/sin.c:257:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/sin.c:279:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c:284:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
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]
libs/math/sin.c:355:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c:359:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sin.c:197:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sin.c: At top level:
libs/math/sin.c:379:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sincos.c:134:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sincos.c:235:5: warning: conflicting types for built-in
function 'sincos' [enabled by default]
libs/math/sincos.c: In function 'sincos':
libs/math/sincos.c:261:8: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:83:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:100:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c:101:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sindg.c: In function 'sindg':
libs/math/sindg.c:213:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:234:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c:238:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c: In function 'cosdg':
libs/math/sindg.c:274:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/sindg.c:297:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sindg.c:301:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sindg.c:178:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sinh.c:43:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/sinh.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/sinh.c:104:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/sinh.c:147:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/sinh.c:105:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tan.c:85:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:90:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:97:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:98:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:99:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:100:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:189:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:189:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tan.c:232:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tan.c:232:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tan.c: In function 'tancot':
libs/math/tan.c:269:1: warning: conversion to 'int' from 'double' may
alter its value [-Wconversion]
libs/math/tan.c:283:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:183:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tan.c:283:2: warning: passing argument 2 of 'p1evl' discards
'const' qualifier from pointer target type [enabled by default]
libs/math/tan.c:184:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tandg.c:78:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:83:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:90:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:91:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:154:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:154:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tandg.c:179:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tandg.c:179:21: warning: type qualifiers ignored on function
return type [-Wignored-qualifiers]
libs/math/tandg.c: In function 'tancot':
libs/math/tandg.c:213:1: warning: conversion to 'int' from 'double'
may alter its value [-Wconversion]
libs/math/tandg.c:228:2: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:150:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tandg.c:228:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tandg.c:151:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tanh.c:44:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/tanh.c:49:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/tanh.c:100:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/tanh.c:136:2: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/tanh.c:101:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:34:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/unity.c:43:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:65:1: warning: passing argument 2 of 'p1evl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:19:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:77:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
libs/math/unity.c:82:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c:108:1: warning: passing argument 2 of 'polevl'
discards 'const' qualifier from pointer target type [enabled by default]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/math/unity.c: At top level:
libs/math/unity.c:116:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
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]
libs/math/unity.c:18:15: note: expected 'void *' but argument is of
type 'const double *'
libs/graphics/graphics.c: In function 'graphicsFallbackSetPixel':
libs/graphics/graphics.c:33:43: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackGetPixel':
libs/graphics/graphics.c:39:51: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFallbackBitmap1bit':
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:7: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:63:27: warning: conversion to 'int' from
'unsigned int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from
'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c:64:7: warning: conversion to 'short int' from
'unsigned int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsSetPixel':
libs/graphics/graphics.c:123:50: warning: conversion to 'unsigned int'
from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/graphics.c: In function 'graphicsDrawLine':
libs/graphics/graphics.c:197:35: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c:210:32: warning: conversion to 'short int'
from 'int' may alter its value [-Wconversion]
libs/graphics/graphics.c: In function 'graphicsVectorCharWidth':
libs/graphics/graphics.c:356:50: warning: unused parameter 'gfx'
[-Wunused-parameter]
libs/graphics/graphics.c: In function 'graphicsFillVectorString':
libs/graphics/graphics.c:366:5: warning: conversion to 'unsigned int'
from 'short int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c: In function
'lcdGetPixelIndex_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:20:33: warning: conversion to 'short
int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdGetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:38:59: warning: conversion to 'int'
from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:39:28: warning: conversion to
'unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:43:13: warning: conversion to
'unsigned int' from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c: In function 'lcdSetPixel_ArrayBuffer':
libs/graphics/lcd_arraybuffer.c:62:59: warning: conversion to 'int'
from 'JsVarInt' may alter its value [-Wconversion]
libs/graphics/lcd_arraybuffer.c:63:7: warning: conversion to 'unsigned
int' from 'int' may change the sign of the result [-Wsign-conversion]
libs/graphics/lcd_arraybuffer.c:63:59: warning: conversion to
'unsigned int' from 'int' may change the sign of the result
[-Wsign-conversion]
libs/graphics/lcd_fsmc.c: In function 'LCD_WR_Data_multi':
libs/graphics/lcd_fsmc.c:176:13: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare]
libs/graphics/lcd_fsmc.c: In function 'LCD_init_panel':
libs/graphics/lcd_fsmc.c:253:25: warning: conversion to 'uint16_t'
from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:949:26: warning: conversion to 'uint16_t'
from 'unsigned int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetCursor':
libs/graphics/lcd_fsmc.c:1126:26: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c: In function 'lcdSetWindow':
libs/graphics/lcd_fsmc.c:1159:27: warning: conversion to 'short
unsigned int' from 'int' may alter its value [-Wconversion]
libs/graphics/lcd_fsmc.c:1160:27: warning: conversion to 'short
unsigned int' f

@gfwilliams
Copy link
Member Author

Did you look at:

https://github.com/espruino/Espruino/blob/master/README.md#building

It might be worth prepending 'V=1' as this outputs more debug info?

  • Gordon

On 16/12/13 12:06, thminuth wrote:

Just the make command. I tried make, sudo make with and without
parameters

Dipl. Ing. Elektr. Technik
MBA (USA)
PMP (PMI)

Thomas Minuth
Sollnerstr. 52

81479 München

@thminuth
Copy link
Contributor

Hello Gordon

I found the reason for the problem. My compiler was corrupted. The libs crti.o and ctrbegin.o are part of the gnu compiler lib. I downt know why but these libs and others are damaged. I´m using an VM with ubuntu 12.04 LTS and till now this configuration was very reliable. I reinstalled the compiler and it works. Now I try to get the embedded pi board and after that the new STM32 board.

Thanks for your help

Thomas
Am 16.12.2013 um 13:22 schrieb Gordon Williams notifications@github.com:

Did you look at:

https://github.com/espruino/Espruino/blob/master/README.md#building

It might be worth prepending 'V=1' as this outputs more debug info?

  • Gordon

On 16/12/13 12:06, thminuth wrote:

Just the make command. I tried make, sudo make with and without
parameters

Dipl. Ing. Elektr. Technik
MBA (USA)
PMP (PMI)

Thomas Minuth
Sollnerstr. 52

81479 München

Reply to this email directly or view it on GitHub.

Mit freundlichen Grüßen

Thomas Minuth

Dipl. Ing. Elektrotechnik (FH)
Master of Business Administration (USA)
PMP (PMI) No.:1302056

D-81479 München
Sollnerstr. 52

Phone: +49 151 22633804
Email: email@friesenundminuth.de

@Dzairo
Copy link

Dzairo commented Dec 16, 2013

Hi. Thomas. I order this dev kit from Farnell : http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
and I'm interesting run ESPRUINO in this dev kit.. I'm totally beginner now .. is possible to help me .. If you finish porting code to this dev kit .. is possible to send me image?
Thanks .
Dzairo
sevc@post.sk

@thminuth
Copy link
Contributor

Hi Dzairo, I have just started to port espruino to the device. It will take some time. As soon the system is stable and tested I will check it in to the githup repsoitory. Gordon as the lead in this project has to release it. Than the code will be available for all. But I can you send prereleases if you wish?

Kind regards and happy cristmas

Am 16.12.2013 um 20:12 schrieb Dzairo notifications@github.com:

Hi. Thomas. I order this dev kit from Farnell : http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF259090
and I'm interesting run ESPRUINO in this dev kit.. I'm totally beginner now .. is possible to help me .. If you finish porting code to this dev kit .. is possible to send me image?
Thanks .
Dzairo
sevc@post.sk


Reply to this email directly or view it on GitHub.

@Dzairo
Copy link

Dzairo commented Dec 16, 2013

Hi. Thomas.
IN this week I receive my dev kit .. then I rite to you and if is possible and can help then try your code..
Long time I work with AVR and make some easy project to ARM7 (LPC..) (CNC control machine ) .. but this is different platform for me ..
king regards and happy christmas to you ..

@Dzairo
Copy link

Dzairo commented Dec 19, 2013

Hi.Thomas.
I received dev kit from Farnell. I test it with default application. I want try Espruino. But need help step by step..
you have any hex or bin file ?? and this file I flash by ST-Link V2 to my dev board ?? or need to compile or something else?? Pls send to my email compiled file .. and I try it .. if is possible.. Write to me email step by step..
best regards . sevc@post.sk

PS: by STLink utility I can flash bin file .. but if try : espruino_1v41_stm32f4discovery.bin and connect to micro USB cable to PC then not detect serial port..I don't know if this bin file is possible to use in my F429 . bin file for F429 I can not find.. if you have it ( only for testing ) then pls send to my email..
best regards...

@Dzairo
Copy link

Dzairo commented Jan 13, 2014

thminuth are you here ?? you have working Espruino for dis dev kit ??

Best regards..

@gfwilliams
Copy link
Member Author

Just had a thought about this. When I tried, it seemed to enter the event loop but not to respond on Serial. It's entirely likely it's just a clock rate issue? You could put a scope on the USART TX pin and check if something comes out - and if so, how far off 9600 baud (which it's supposed to be) it is.

The STM32F4's libraries might need updating to the latest versions too.

@ebirger
Copy link
Contributor

ebirger commented Jan 14, 2014

As a small note, I did notice there is a tweaked version of system_stm32f4xx file in the 429 release.

Eyal

On 14 Jan 2014, at 18:26, Gordon Williams notifications@github.com wrote:

Just had a thought about this. When I tried, it seemed to enter the event loop but not to respond on Serial. It's entirely likely it's just a clock rate issue? You could put a scope on the USART TX pin and check if something comes out - and if so, how far off 9600 baud (which it's supposed to be) it is.

The STM32F4's libraries might need updating to the latest versions too.


Reply to this email directly or view it on GitHub.

@gfwilliams
Copy link
Member Author

That may have something to do with it. Can you post up a link? it might help thminuth.

@ebirger
Copy link
Contributor

ebirger commented Jan 14, 2014

Sure. The firmware package can be downloaded from:
http://www.st.com/web/en/catalog/tools/PF259429
or:
http://www.st.com/st-web-ui/static/active/en/st_prod_software_internet/resource/technical/software/firmware/stsw-stm32138.zip

A system_stm32f4xx.c file can be found under:
./STM32F429I-Discovery_FW_V1.0.1/Projects/Template/system_stm32f4xx.c

@mulderp
Copy link

mulderp commented Nov 24, 2015

I was able to flash the board with MacOS, but indeed I can't see a serial port.
Here the dump from the flash:

pm:Espruino pmu$ STM32F429IDISCOVERY=1 RELEASE=1 make flash
 echo ST-LINK flash
 ST-LINK flash
 st-flash --reset write espruino_1v81.307_stm32f429idiscovery.bin 0x08000000
 2015-11-24T20:28:14 INFO src/stlink-common.c: Loading device parameters....
 2015-11-24T20:28:14 INFO src/stlink-common.c: Device connected is: F42x and F43x device, id 0x20016419
 2015-11-24T20:28:14 INFO src/stlink-common.c: SRAM size: 0x40000 bytes (256 KiB), Flash: 0x200000 bytes (2048 KiB) in pages of 16384 bytes
 2015-11-24T20:28:14 INFO src/stlink-common.c: Attempting to write 209388 (0x331ec) bytes to stm32 address: 134217728 (0x8000000)
 EraseFlash - Sector:0x0 Size:0x4000
 Flash page at addr: 0x08000000 erasedEraseFlash - Sector:0x1 Size:0x4000
 Flash page at addr: 0x08004000 erasedEraseFlash - Sector:0x2 Size:0x4000
 Flash page at addr: 0x08008000 erasedEraseFlash - Sector:0x3 Size:0x4000
 Flash page at addr: 0x0800c000 erasedEraseFlash - Sector:0x4 Size:0x10000
 Flash page at addr: 0x08010000 erasedEraseFlash - Sector:0x5 Size:0x20000
 Flash page at addr: 0x08020000 erased
 2015-11-24T20:28:19 INFO src/stlink-common.c: Finished erasing 6 pages of 131072 (0x20000) bytes
 2015-11-24T20:28:19 INFO src/stlink-common.c: Starting Flash write for F2/F4/L4
 2015-11-24T20:28:19 INFO src/stlink-common.c: Successfully loaded flash loader in sram
 enabling 32-bit flash writes
 size: 32768
 size: 32768
 size: 32768
 size: 32768
 size: 32768
 size: 32768
 size: 12780
 2015-11-24T20:28:25 INFO src/stlink-common.c: Starting verification of write complete
 2015-11-24T20:28:29 INFO src/stlink-common.c: Flash written and verified! jolly good!

@gfwilliams
Copy link
Member Author

The Readme actually says:

STM32F429IDISCOVERY - WORKING over serial (A9/A10). No USB and no LCD support

So this isn't surprising I guess. You could try adding a USB-TTL converter to A9/A10 and connecting at 9600 baud...

@gfwilliams
Copy link
Member Author

Closing due to lack of interest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants