You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2026/09/04 18:56:09 UTC
Re: [PR] boards: Add Nano-X Default Configs and Documents for Nuttx [nuttx]
acassis commented on PR #19912:
URL: https://github.com/apache/nuttx/pull/19912#issuecomment-5545143765
@Acfboy please take a look at these errors:
```
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
from microwindows/src/mwin/winuser.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)();
| ^~~~~~~
microwindows/src/mwin/winuser.c: In function 'CreateWindowEx':
Error: microwindows/src/mwin/winuser.c:492:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
492 | wp->id = (int)hMenu; // OK: Not pointer. Menu id always passed as int.
| ^
microwindows/src/mwin/winuser.c: In function 'GetClassLong':
Error: microwindows/src/mwin/winuser.c:1304:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1304 | return (DWORD)hwnd->pClass->hbrBackground; // OK: Pointer size checked above and is 32 bit.
| ^
microwindows/src/mwin/winuser.c: In function 'SetProp':
Error: microwindows/src/mwin/winuser.c:1517:38: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1517 | pProp->Atom = LOWORD((DWORD)lpString); // OK: Not pointer. Atom passed in low 16 bits.
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:174:37: note: in definition of macro 'LOWORD'
174 | #define LOWORD(l) ((WORD)(l))
| ^
microwindows/src/mwin/winuser.c: In function 'GetProp':
Error: microwindows/src/mwin/winuser.c:1535:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1535 | Atom = LOWORD((DWORD)lpString); // OK: Not pointer. Atom passed in low 16 bits.
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:174:37: note: in definition of macro 'LOWORD'
174 | #define LOWORD(l) ((WORD)(l))
| ^
microwindows/src/mwin/winuser.c: In function 'RemoveProp':
Error: microwindows/src/mwin/winuser.c:1557:31: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1557 | Atom = LOWORD((DWORD)lpString); // OK: Not pointer. Atom passed in low 16 bits.
| ^
/github/workspace/sources/apps/graphics/microwindows/microwindows/src/include/windef.h:174:37: note: in definition of macro 'LOWORD'
174 | #define LOWORD(l) ((WORD)(l))
| ^
microwindows/src/mwin/winuser.c: In function 'SetWindowPos':
Error: microwindows/src/mwin/winuser.c:1659:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1659 | switch((int)hwndInsertAfter) { // OK: intentional HWND to int cast
| ^
Error: microwindows/src/mwin/winuser.c:1660:22: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1660 | case (int)(HWND)HWND_TOP: // OK: intentional HWND to int cast
| ^
Error: microwindows/src/mwin/winuser.c:1663:22: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
1663 | case (int)(HWND)HWND_BOTTOM: // OK: intentional HWND to int cast
| ^
cc1: all warnings being treated as errors
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
```
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org