[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: build failure if CONFIG_FLOAT_DURATION is not set
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2018-08-26 14:35:11
Message-ID: CAK1hOcN2sZHqvwHufkCNmPXCq8gV8wReaGCyRpVMd8aN_dhHzg () mail ! gmail ! com
[Download RAW message or body]

Fixed, thanks
On Sun, Aug 19, 2018 at 12:55 PM Cristian Ionescu-Idbohrn
<cristian.ionescu-idbohrn@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@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic