Hay
Date
May 15, 2025, 10:38 a.m.

Environment
arm

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
In file included from timens.c:16:
leap-a-day.c: In function 'main':
leap-a-day.c:291:45: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
  291 |                 printf("Setting timer for %ld -  %s", next_leap, ctime(&next_leap));
      |                                           ~~^         ~~~~~~~~~
      |                                             |         |
      |                                             long int  time_t {aka long long int}
      |                                           %lld

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
In file included from timens.c:16:
leap-a-day.c: In function 'sigalarm':
leap-a-day.c:139:69: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
  139 |                 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap);
      |                                                                   ~~^      ~~~~~~~~~
      |                                                                     |      |
      |                                                                     |      time_t {aka long long int}
      |                                                                     long int
      |                                                                   %lld


make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
In file included from timens.c:16:
leap-a-day.c: In function 'sigalarm':
leap-a-day.c:139:69: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
  139 |                 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap);
      |                                                                   ~~^      ~~~~~~~~~
      |                                                                     |      |
      |                                                                     |      time_t {aka long long int}
      |                                                                     long int
      |                                                                   %lld

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 'CC=sccache arm-linux-gnueabihf-gcc' 'HOSTCC=sccache gcc' kselftest-install
In file included from timens.c:16:
leap-a-day.c: In function 'main':
leap-a-day.c:291:45: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
  291 |                 printf("Setting timer for %ld -  %s", next_leap, ctime(&next_leap));
      |                                           ~~^         ~~~~~~~~~
      |                                             |         |
      |                                             long int  time_t {aka long long int}
      |                                           %lld