Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-25 Thread Olaf Meeuwissen
Hi again! Olaf Meeuwissen writes: > Hi devs, > > About a year ago, I set out trying to get rid of *all* compiler warnings > on a "well-defined" build platform. I'm happy to report that we've made > it! With the commit of ee550e5d[1], the debian-8-full build[2], is free > of compiler warnings!

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-25 Thread Olaf Meeuwissen
Hi Allan, Olaf Meeuwissen writes: > m. allan noah writes: > >> On Wed, Sep 21, 2016 at 9:12 AM, Olaf Meeuwissen >> wrote: > >>> ... next are four linker warnings about the use of `mktemp`, which, as >>> we all know, is racey and should be avoided. Like the plague, so

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-23 Thread ABC
On Thu, Sep 22, 2016 at 11:09:03PM +0900, Olaf Meeuwissen wrote: > > To what mktemp() should be replaced? Will there be sanei function to > > drop-in replace it? > > The mktemp(3) manual page suggests mkstemp (POSIX.1-2001, not in C99). > That is used by the bh and pieusb backends. You can also

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-22 Thread Olaf Meeuwissen
Hi Johannes, Johannes Meixner writes: > Hello Olaf, > > On Sep 21 22:12 Olaf Meeuwissen wrote (excerpt): >> About a year ago, I set out trying to get rid of *all* >> compiler warnings on a "well-defined" build platform. >> I'm happy to report that we've made it! > > Awesome! Thanks! > I

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-22 Thread ABC
Hello, To what mktemp() should be replaced? Will there be sanei function to drop-in replace it? On Wed, Sep 21, 2016 at 10:12:27PM +0900, Olaf Meeuwissen wrote: > Looking over the build log (love how clean those compile commands look, > BTW), next are four linker warnings about the use of

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-22 Thread Olaf Meeuwissen
m. allan noah writes: > On Wed, Sep 21, 2016 at 9:12 AM, Olaf Meeuwissen > wrote: >> Hi devs, >> >> About a year ago, I set out trying to get rid of *all* compiler warnings >> on a "well-defined" build platform. I'm happy to report that we've made >> it! With the

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-22 Thread Olaf Meeuwissen
Hi Louis, Louis Lagendijk writes: > On Wed, 2016-09-21 at 22:12 +0900, Olaf Meeuwissen wrote: >> Hi devs, >> >> About a year ago, I set out trying to get rid of *all* compiler >> warnings >> on a "well-defined" build platform.I'm happy to report that we've >> made >> it!With the commit of

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-21 Thread Louis Lagendijk
On Wed, 2016-09-21 at 22:12 +0900, Olaf Meeuwissen wrote: > Hi devs, > > About a year ago, I set out trying to get rid of *all* compiler > warnings > on a "well-defined" build platform.  I'm happy to report that we've > made > it!  With the commit of ee550e5d[1], the debian-8-full build[2], is >

Re: [sane-devel] [Janitorial] Zero(!) compiler warnings

2016-09-21 Thread m. allan noah
On Wed, Sep 21, 2016 at 9:12 AM, Olaf Meeuwissen wrote: > Hi devs, > > About a year ago, I set out trying to get rid of *all* compiler warnings > on a "well-defined" build platform. I'm happy to report that we've made > it! With the commit of ee550e5d[1], the