Otpvondoiats commented on PR #2587:
URL: https://github.com/apache/nuttx-apps/pull/2587#issuecomment-2363575874
macos task
```
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/stdio.h:30,
from ./hello_main.c:26:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/wdog.h:52:20:
error: missing binary operator before token "("
52 | #if UINTPTR_MAX >= UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT
./hello_main.c.Users.runner.work.nuttx-apps.nuttx-apps.sources.apps.examples.hello.o
-M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC'
'-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-D__KERNEL__' '-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/apps/include' ./hello_main.c
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from ./string/lib_memcpy.c:26:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/wdog.h:52:20:
error: missing binary operator before token "("
52 | #if UINTPTR_MAX >= UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT bin/lib_memcpy.o -M '-Wall'
'-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector'
'-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/libs/libc'
./string/lib_memcpy.c
make[2]: *** [lib_memcpy.ddc] Error 1
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/time.h:31,
from ./time/lib_timegm.c:27:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT bin/lib_timegm.o -M '-Wall'
'-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector'
'-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/libs/libc'
./time/lib_timegm.c
make[2]: *** [lib_timegm.ddc] Error 1
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/time.h:31,
from ./time/lib_gmtime.c:27:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT bin/lib_gmtime.o -M '-Wall'
'-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector'
'-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/libs/libc'
./time/lib_gmtime.c
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sched.h:30,
from ./nsh_main.c:28:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/wdog.h:52:20:
error: missing binary operator before token "("
52 | #if UINTPTR_MAX >= UINT32_MAX
| ^~~~~~~~~~
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/stdbool.h:55,
from ./time/lib_gmtimer.c:27:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
In file included from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/sys/types.h:32,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/unistd.h:28,
from
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/getopt.h:31,
from ./getopt.c:28:
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/lib/math32.h:41:19:
error: missing binary operator before token "("
41 | #if UINTPTR_MAX > UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT bin/lib_gmtimer.o -M '-Wall'
'-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC' '-fno-stack-protector'
'-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/libs/libc'
./time/lib_gmtimer.c
Error:
/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include/nuttx/wdog.h:52:20:
error: missing binary operator before token "("
52 | #if UINTPTR_MAX >= UINT32_MAX
| ^~~~~~~~~~
ERROR: x86_64-elf-gcc failed: 1
command: x86_64-elf-gcc -MT
./nsh_main.c.Users.runner.work.nuttx-apps.nuttx-apps.sources.apps.system.nsh.o
-M '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-fPIC'
'-fno-stack-protector' '-mno-red-zone' '-mrdrnd' '-isystem'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/nuttx/include' '-D__NuttX__'
'-D__KERNEL__' '-Wno-cpp' '-Werror' '-I'
'/Users/runner/work/nuttx-apps/nuttx-apps/sources/apps/include' ./nsh_main.c
```
--
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]