Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Portability fun with FreeBSD
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 13 Apr 2017 06:00:48 +0000 (08:00 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 13 Apr 2017 06:00:52 +0000 (08:00 +0200)
commit9197f939bdfb39f2c4746f47c16c5b9f630b12cc
treeb4610071f6a93deb7a05800da141b819dfd09ce8
parente303bc683c874808621082e409ec13bcc1b17247
Portability fun with FreeBSD

Make sure that the lambda capture parameter is actually used when
sendfile(2) is not usable, to avoid a fatal warning: FreeBSD is both
super advanced (with clang being very uptodate) and somewhat
prehistorical.

And no, I do not plan to deal myself with the FreeBSD-specific
sendfile prototype to avoid this problem in a cleaner way. But patches
are welcome as usual.
src/smpi/smpi_global.cpp