xiaoxiang781216 commented on PR #19224:
URL: https://github.com/apache/nuttx/pull/19224#issuecomment-4856117522
@speccy88 still has the build warning:
```
====================================================================================
Configuration/Tool: sim/berry
2026-07-01 12:11:05
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 506k 0 506k 0 0 640k 0 --:--:-- --:--:-- --:--:--
1491k
berry/src/be_introspectlib.c: In function 'm_fromptr':
Error: berry/src/be_introspectlib.c:137:25: error: declaration of 'top'
shadows a previous local [-Werror=shadow]
137 | bvalue *top = be_incrtop(vm);
| ^~~
berry/src/be_introspectlib.c:126:9: note: shadowed declaration is here
126 | int top = be_top(vm);
| ^~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:239:
be_introspectlib.c.github.workspace.sources.apps.interpreters.berry.o] Error 1
berry/src/be_module.c: In function 'be_module_setmember':
Error: berry/src/be_module.c:380:17: error: declaration of 'type' shadows a
previous local [-Werror=shadow]
380 | int type = var_type(vm->top);
| ^~~~
berry/src/be_module.c:371:13: note: shadowed declaration is here
371 | int type = be_module_attr(vm, module, str_literal(vm,
"setmember"), vm->top);
| ^~~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:239:
be_module.c.github.workspace.sources.apps.interpreters.berry.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [Makefile:54:
/github/workspace/sources/apps/interpreters/berry_all] Error 2
make[1]: Target 'all' not remade because of errors.
make: *** [tools/LibTargets.mk:248:
/github/workspace/sources/apps/libapps.a] Error 2
make: Target 'all' not remade because of errors.
/github/workspace/sources/nuttx/tools/testbuild.sh: line 397:
/github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or
directory
[1/1] Normalize sim/berry
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
interpreters/berry/berry-4db341475df9e9ad18e6741ef978b4c467690e09.zip
interpreters/berry/berry/
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]