mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 20:59:05 +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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| 0001-pthread_rwlock_unlock-follow-linux.patch | ||
| 0002-Use-ifdef-instead-of-if-for-__linux__.patch | ||
| 0003-LTP-Re-init-static-variable-to-avoid-errors-during-m.patch | ||
| 0004-test-update-ltp-test-case.patch | ||
| 0005-ltp-update-pthread_cond_timedwait-testcase.patch | ||
| 0006-test-modified-ltp-rwlock-need-init.patch | ||
| 0007-pthread_kill-add-usleep-aviod-semcount-overturn.patch | ||
| 0008-test-ltp-fix-ltp_interfaces_sigaction_23_10-deadloop.patch | ||
| 0009-ltp-modify-user-code-for-fdcheck-compatibility.patch | ||
| 0010-ltp-fix-build-warning.patch | ||
| 0011-ltp-fix-the-proc.h-header-file-duplicate-inclusion.patch | ||
| 0012-ltp-fix-build-error.patch | ||
| CMakeLists.txt | ||
| config.h | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||