Re: [LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2018-01-03 Thread Hans Dedecker
On Tue, Jan 2, 2018 at 11:01 PM, Rosen Penev wrote: > On Mon, Dec 25, 2017 at 3:23 PM, Florian Fainelli > wrote: >> Le 12/25/17 à 15:05, Rosen Penev a écrit : >>> Reduction of 48 bytes in compiled size. No functional difference. >>> >>> -pedantic was removed as %m is a GNU extension. >> >> My 2

Re: [LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2018-01-02 Thread Rosen Penev
On Mon, Dec 25, 2017 at 3:23 PM, Florian Fainelli wrote: > Le 12/25/17 à 15:05, Rosen Penev a écrit : >> Reduction of 48 bytes in compiled size. No functional difference. >> >> -pedantic was removed as %m is a GNU extension. > > My 2 cents, I really think your patches are moving us in the wrong >

Re: [LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2017-12-25 Thread Florian Fainelli
Le 12/25/17 à 15:05, Rosen Penev a écrit : > Reduction of 48 bytes in compiled size. No functional difference. > > -pedantic was removed as %m is a GNU extension. My 2 cents, I really think your patches are moving us in the wrong direction, even if all C libraries that are currently supported imp

[LEDE-DEV] [PATCH] odhcp6c: Replace strerror(errno) with %m

2017-12-25 Thread Rosen Penev
Reduction of 48 bytes in compiled size. No functional difference. -pedantic was removed as %m is a GNU extension. Signed-off-by: Rosen Penev --- CMakeLists.txt | 2 +- src/dhcpv6.c | 4 ++-- src/odhcp6c.c | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CMakeLists.tx