mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
nxlooper.c: In function 'nxlooper_opendevice':
Error: nxlooper.c:126:15: error: unused variable 'x' [-Werror=unused-variable]
126 | uint8_t x;
| ^
Error: nxlooper.c:125:15: error: unused variable 'supported' [-Werror=unused-variable]
125 | uint8_t supported = true;
| ^~~~~~~~~
In file included from nxlooper.c:40:
nxlooper.c: In function 'nxlooper_loopthread':
Error: nxlooper.c:482:15: error: format '%d' expects argument of type 'int', but argument 3 has type 'ssize_t' {aka 'long int'} [-Werror=format=]
482 | audinfo("message received size %d id%d\n", size, msg.msg_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
| |
| ssize_t {aka long int}
nxlooper.c:482:39: note: format string is defined here
482 | audinfo("message received size %d id%d\n", size, msg.msg_id);
| ~^
| |
| int
| %ld
cc1: all warnings being treated as errors
make[3]: *** [/github/workspace/sources/apps/Application.mk:133: nxlooper.c.github.workspace.sources.apps.system.nxlooper.o] Error 1
nxlooper_main.c: In function 'nxlooper_cmd_loopback':
Error: nxlooper_main.c:209:9: error: implicit declaration of function 'nxlooper_loopraw'; did you mean 'nxlooper_stop'? [-Werror=implicit-function-declaration]
209 | ret = nxlooper_loopraw(plooper, channels, bpsamp,
| ^~~~~~~~~~~~~~~~
| nxlooper_stop
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| adb | ||
| argtable3 | ||
| cdcacm | ||
| cfgdata | ||
| cle | ||
| composite | ||
| critmon | ||
| cu | ||
| dhcpc | ||
| embedlog | ||
| flash_eraseall | ||
| hex2bin | ||
| hexed | ||
| i2c | ||
| libuv | ||
| lm75 | ||
| lzf | ||
| mdio | ||
| netdb | ||
| nsh | ||
| ntpc | ||
| nxlooper | ||
| nxplayer | ||
| nxrecorder | ||
| ping | ||
| ping6 | ||
| popen | ||
| psmq | ||
| ramtest | ||
| readline | ||
| sched_note | ||
| setlogmask | ||
| spi | ||
| stackmonitor | ||
| system | ||
| taskset | ||
| tee | ||
| telnet | ||
| termcurses | ||
| trace | ||
| ubloxmodem | ||
| usbmsc | ||
| vi | ||
| zmodem | ||
| .gitignore | ||
| Make.defs | ||
| Makefile | ||