build failure if CONFIG_FLOAT_DURATION is not set

Denys Vlasenko vda.linux at googlemail.com
Sun Aug 26 14:35:11 UTC 2018


Fixed, thanks
On Sun, Aug 19, 2018 at 12:55 PM Cristian Ionescu-Idbohrn
<cristian.ionescu-idbohrn at axis.com> wrote:
>
> # CONFIG_FLOAT_DURATION is not set
>
>   CC      libbb/duration.o
> libbb/duration.c: In function 'parse_duration_str':
> libbb/duration.c:76:26: error: 'argv' undeclared (first use in this function)
>   return xatou_range_sfx(*argv, 0, UINT_MAX, duration_suffixes);
>                           ^~~~
> libbb/duration.c:76:26: note: each undeclared identifier is reported only once for each function it appears in
> libbb/duration.c:74:47: warning: unused parameter 'str' [-Wunused-parameter]
>  duration_t FAST_FUNC parse_duration_str(char *str)
>                                          ~~~~~~^~~
> libbb/duration.c:77:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> make[1]: *** [scripts/Makefile.build:198: libbb/duration.o] Error 1
> make: *** [Makefile:743: libbb] Error 2
>
>
> Cheers,
>
> --
> Cristian
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox


More information about the busybox mailing list