xiaoxiang781216 commented on PR #18025:
URL: https://github.com/apache/nuttx/pull/18025#issuecomment-3770832359
@wangchdo please fix the ci warning and error:
```
====================================================================================
Configuration/Tool: smartl-c906/sotest
2026-01-20 03:07:23
------------------------------------------------------------------------------------
Cleaning...
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
Configuring...
Building NuttX...
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
/github/workspace/sources/apps/Application.mk:238: target
'signest.c.github.workspace.sources.apps.testing.ostest.o' given more than once
in the same rule
hrtimer.c: In function 'hrtimer_test':
Error: hrtimer.c:219:23: error: passing argument 2 of 'hrtimer_start' from
incompatible pointer type [-Wincompatible-pointer-types]
219 | test_hrtimer_callback,
| ^~~~~~~~~~~~~~~~~~~~~
| |
| uint64_t (*)(hrtimer_t *, uint64_t) {aka long
unsigned int (*)(struct hrtimer_s *, long unsigned int)}
In file included from hrtimer.c:28:
/github/workspace/sources/nuttx/include/nuttx/hrtimer.h:186:59: note:
expected 'hrtimer_entry_t' {aka 'long unsigned int (*)(const struct hrtimer_s
*, long unsigned int)'} but argument is of type 'uint64_t (*)(hrtimer_t *,
uint64_t)' {aka 'long unsigned int (*)(struct hrtimer_s *, long unsigned int)'}
186 | int hrtimer_start(FAR hrtimer_t *hrtimer, hrtimer_entry_t func,
| ~~~~~~~~~~~~~~~~^~~~
```
--
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]