mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 04:39:01 +00:00
The LTP open_posix_testsuite header timespec.h has, since 2019: #define TIME_T_MAX (time_t)((1UL << ((sizeof(time_t) << 3) - 1)) - 1) When time_t is 64 bits (the default after sched/remove-system-time64), the shift reaches the sign bit of the underlying type and toolchains emit -Wshift-count-overflow, which the LTP build promotes to a hard error via -Werror. This breaks rv-virt/citest and rv-virt/citest64 on CI. The diagnostic is benign here (TIME_T_MAX itself is correct) and the defect is in upstream LTP, so disable the warning alongside the other 'should be removed in the future' relaxations until upstream is fixed. Signed-off-by: xiaoxiang781216 <xiaoxiang781216@gmail.com> |
||
|---|---|---|
| .. | ||
| arch | ||
| cmocka | ||
| cxx | ||
| cxx-oot-build | ||
| drivers | ||
| enet | ||
| fff | ||
| fs | ||
| libc | ||
| ltp | ||
| mm | ||
| nettest | ||
| nuts | ||
| ostest | ||
| sched | ||
| testsuites | ||
| unity | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Make.defs | ||
| Makefile | ||