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 I'd >>> like to see these g

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 u

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

2016-09-22 Thread Olaf Meeuwissen
ABC writes: > Hello, > > 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 use tmpfile (POSIX.1-2001, POSI.1-2008 and in C99),

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 appreci

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 `mktemp

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 commit of ee550e5d[1], the deb

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 ee550e

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 > f

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 debian-8-full build[2], is free > of

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

2016-09-21 Thread Johannes Meixner
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! I appreciate very much your continuous persistent work to get the code cl

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

2016-09-21 Thread Olaf Meeuwissen
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! [1] https://gitlab.com/sane-project/backends/