CV-Bowen commented on PR #14077:
URL: https://github.com/apache/nuttx/pull/14077#issuecomment-2416601510

   CI Failed, but unrelated to this PR
   ```c
   100  496k  100  496k    0     0  1123k      0 --:--:-- --:--:-- --:--:-- 
1123k
   Error: syslog/vsyslog.c:212:32: error: format specifies type 'intmax_t' (aka 
'long long') but the argument has type 'uintmax_t' (aka 'unsigned long') 
[-Werror,-Wformat]
                                , (uintmax_t)ts.tv_sec
                                  ^~~~~~~~~~~~~~~~~~~~
   1 error generated.
   make[1]: *** [vsyslog.o] Error 1
   make[1]: Target `libdrivers.a' not remade because of errors.
   make: *** [drivers/libdrivers.a] Error 2
   Error: inttypes/lib_strtoimax.c:100:22: error: implicit conversion from 
'long long' to 'intmax_t' (aka 'long') changes value from -9223372036854775808 
to 0 [-Werror,-Wconstant-conversion]
                 return INTMAX_MIN;
                 ~~~~~~ ^~~~~~~~~~
   /Users/runner/work/nuttx/nuttx/sources/nuttx/include/stdint.h:136:29: note: 
expanded from macro 'INTMAX_MIN'
   #  define INTMAX_MIN        INT64_MIN
                               ^~~~~~~~~
   /Users/runner/work/nuttx/nuttx/sources/nuttx/include/stdint.h:65:41: note: 
expanded from macro 'INT64_MIN'
   #  define INT64_MIN         (-INT64_MAX - 1)
                                ~~~~~~~~~~~^~~
   Error: inttypes/lib_strtoimax.c:103:37: error: implicit conversion from 
'long long' to 'intmax_t' (aka 'long') changes value from -9223372036854775808 
to 0 [-Werror,-Wconstant-conversion]
             return (accum == limit) ? INTMAX_MIN : -(intmax_t)accum;
             ~~~~~~                    ^~~~~~~~~~
   /Users/runner/work/nuttx/nuttx/sources/nuttx/include/stdint.h:136:29: note: 
expanded from macro 'INTMAX_MIN'
   #  define INTMAX_MIN        INT64_MIN
                               ^~~~~~~~~
   /Users/runner/work/nuttx/nuttx/sources/nuttx/include/stdint.h:65:41: note: 
expanded from macro 'INT64_MIN'
   #  define INT64_MIN         (-INT64_MAX - 1)
                                ~~~~~~~~~~~^~~
   Error: inttypes/lib_strtoimax.c:106:17: error: result of comparison of 
constant 9223372036854775807 with expression of type 'uintmax_t' (aka 'unsigned 
long') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
         if (accum > INTMAX_MAX)
   ```


-- 
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]

Reply via email to