acassis commented on pull request #4850: URL: https://github.com/apache/incubator-nuttx/pull/4850#issuecomment-972832729
Hi @jane2226 we are getting errors on HEAD of the master: ``` In file included from sensors/wtgahrs2.c:37: sensors/wtgahrs2.c: In function 'wtgahrs2_gps_data': Error: sensors/wtgahrs2.c:332:14: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Werror=format=] 332 | sninfo("Time : %llu utc_time: %llu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 333 | rtdata->gps.timestamp, rtdata->gps.time_utc); | ~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} sensors/wtgahrs2.c:332:25: note: format string is defined here 332 | sninfo("Time : %llu utc_time: %llu\n", | ~~~^ | | | long long unsigned int | %lu In file included from sensors/wtgahrs2.c:37: Error: sensors/wtgahrs2.c:332:14: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Werror=format=] 332 | sninfo("Time : %llu utc_time: %llu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 333 | rtdata->gps.timestamp, rtdata->gps.time_utc); | ~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} sensors/wtgahrs2.c:332:40: note: format string is defined here 332 | sninfo("Time : %llu utc_time: %llu\n", | ~~~^ | | | long long unsigned int | %lu cc1: all warnings being treated as errors make[1]: *** [Makefile:110: wtgahrs2.o] Error 1 make[1]: Target 'libdrivers.a' not remade because of errors. make: *** [tools/LibTargets.mk:89: drivers/libdrivers.a] Error 2 sensortest.c: In function 'print_gps': Error: sensortest.c:169:29: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Werror=format=] 169 | printf("%s: timestamp: %llu time_utc: %llu latitude: %f longitude: %f " | ~~~^ | | | long long unsigned int | %lu ...... 172 | " %u\n", name, event->timestamp, event->time_utc, event->latitude, | ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} Error: sensortest.c:169:44: error: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Werror=format=] 169 | printf("%s: timestamp: %llu time_utc: %llu latitude: %f longitude: %f " | ~~~^ | | | long long unsigned int | %lu ...... 172 | " %u\n", name, event->timestamp, event->time_utc, event->latitude, | ~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} sensortest.c: In function 'print_gps_satellite': Error: sensortest.c:183:29: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Werror=format=] 183 | printf("%s: timestamp: %llu count: %u satellites: %u", name, | ~~~^ | | | long long unsigned int | %lu 184 | event->timestamp, event->count, event->satellites); | ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} cc1: all warnings being treated as errors make[3]: *** [/github/workspace/sources/apps/Application.mk:192: sensortest.c.github.workspace.sources.apps.testing.sensortest.o] Error 1 make[3]: Target 'all' not remade because of errors. make[2]: *** [Makefile:42: /github/workspace/sources/apps/testing/sensortest_all] Error 2 make[2]: Target '/github/workspace/sources/apps/libapps.a' not remade because of errors. make[1]: *** [Makefile:36: all] Error 2 make: *** [tools/LibTargets.mk:210: /github/workspace/sources/apps/libapps.a] Error 2 make: Target 'all' not remade because of errors. /github/workspace/sources/nuttx/tools/testbuild.sh: line 252: /github/workspace/sources/nuttx/../nuttx/nuttx.manifest: No such file or directory Normalize sim/sensor ``` -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org