acassis commented on PR #19912:
URL: https://github.com/apache/nuttx/pull/19912#issuecomment-5370819073
@Acfboy please rebase your nuttx-apps now that microwindow/nano-x was merged
and please fix the errors reported here in our CI:
"Configuration/Tool: qemu-intel64/mw
2026-08-20 18:10:44
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:
In function 'ConvBMP':
Warning:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:379:32:
warning: declaration of 'p' shadows a previous local [-Wshadow]
379 | unsigned char *p = imagebits + i*pitch;
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:255:8:
note: shadowed declaration is here
255 | UCHAR *p = (UCHAR *)&l;
| ^
Warning:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:404:32:
warning: declaration of 'p' shadows a previous local [-Wshadow]
404 | unsigned char *p = imagebits + i*pitch;
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:255:8:
note: shadowed declaration is here
255 | UCHAR *p = (UCHAR *)&l;
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:
In function 'DecodeRLE4':
Warning:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:577:66:
warning: 'c1' may be used uninitialized [-Wmaybe-uninitialized]
577 | put4((c1 >>
4) & 0x0f);
|
~~~~^~~~~
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/images/tools/convbmp.c:549:23:
note: 'c1' was declared here
549 | int c, n, c1, c2;
| ^~
In file included from
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windows.h:21,
from mwdemo.c:20:
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:168:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
168 | typedef int (FAR *FARPROC)();
| ^~~~~~~
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:169:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
169 | typedef int (NEAR *NEARPROC)();
| ^~~~~~~
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:170:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
170 | typedef int (*PROC)();
| ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:257:
mwdemo.c.github.workspace.sources.apps.examples.microwindows.o] Error 1
In file included from
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windows.h:21,
from mwdemo_main.c:31:
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:168:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
168 | typedef int (FAR *FARPROC)();
| ^~~~~~~
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:169:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
169 | typedef int (NEAR *NEARPROC)();
| ^~~~~~~
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:170:1:
error: function declaration isn't a prototype [-Werror=strict-prototypes]
170 | typedef int (*PROC)();
| ^~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:348:
mwdemo_main.c.github.workspace.sources.apps.examples.microwindows.o] Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [Makefile:54:
/github/workspace/sources/apps/examples/microwindows_all] Error 2
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/drivers/fb.c:
In function 'select_fb_subdriver':
Error:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/drivers/fb.c:108:27:
error: unused variable 'memplan4' [-Werror=unused-variable]
108 | extern PSUBDRIVER memplan4[4];
| ^~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [/github/workspace/sources/apps/Application.mk:257:
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/drivers/fb.c.github.workspace.sources.apps.graphics.microwindows.o]
Error 1
make[2]: *** [/github/workspace/sources/apps/Application.mk:257:
microwindows/src/mwin/winuser.c.github.workspace.sources.apps.graphics.microwindows.o]
Error 1
make[2]: Target 'all' not remade because of errors.
make[1]: *** [Makefile:54:
/github/workspace/sources/apps/graphics/microwindows_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 qemu-intel64/mw
7a8
> # CONFIG_ARCH_INTEL64_HAVE_PCID is not set
26a28
> CONFIG_DEBUG_SYMBOLS=y
27a30
> CONFIG_DEV_SIMPLE_ADDRENV=y
32,35c35,38
< CONFIG_MICROWINDOWS_KBD_EVENT=y
< CONFIG_MICROWINDOWS_KBD_EVENT_PATH="/dev/kbda"
< CONFIG_MICROWINDOWS_MOUSE_RELATIVE=y
< CONFIG_MICROWINDOWS_MWIN=y
---
> CONFIG_HIDKBD_STACKSIZE=10240
> CONFIG_HIDMOUSE_STACKSIZE=10240
> CONFIG_HIDMOUSE_XMAX=1024
> CONFIG_HIDMOUSE_YMAX=768
37a41,44
> CONFIG_INIT_PRIORITY=20
> CONFIG_LIBM=y
> CONFIG_MICROWINDOWS_KBD_EVENT_PATH="/dev/kbda"
> CONFIG_MICROWINDOWS_MWIN=y
39a47
> CONFIG_PCI_MSIX=y
55,64d62
< CONFIG_PCI_MSIX=y
< CONFIG_HIDKBD_STACKSIZE=10240
< CONFIG_HIDMOUSE_STACKSIZE=10240
< CONFIG_HIDMOUSE_XMAX=1024
< CONFIG_HIDMOUSE_YMAX=768
< CONFIG_DEV_SIMPLE_ADDRENV=y
< CONFIG_LIBM=y
< CONFIG_DEBUG_SYMBOLS=y
< CONFIG_INIT_PRIORITY=20
< # CONFIG_ARCH_INTEL64_HAVE_PCID is not set
Saving the new configuration file
HEAD detached at pull/19912/merge
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: boards/x86_64/qemu/qemu-intel64/configs/mw/defconfig
modified: boards/x86_64/qemu/qemu-intel64/configs/nanox/defconfig
no changes added to commit (use "git add" and/or "git commit -a")
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)
examples/microwindows/convbmp
examples/microwindows/images/
nothing added to commit but untracked files present (use "git add" to track)
/github/workspace/sources/nuttx /github/workspace/sources/nuttx
HEAD detached at pull/19912/merge
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: boards/x86_64/qemu/qemu-intel64/configs/mw/defconfig
modified: boards/x86_64/qemu/qemu-intel64/configs/nanox/defconfig"
--
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]