<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi, Dirk,<br></div><div><br></div><div>The warning is<br></div><div><br></div><div>"d:/RCompile/CRANpkg/lib/3.6/BH/include/boost/interprocess/detail/win32_api.hpp:145:9: warning: ISO C++ prohibits anonymous structs [-Wpedantic]"<br></div></div></div><div><br></div><div>It is a Windows-only warning and has been fixed in Boost 1.69.<br></div><div><br></div><div>Best wishes,</div><div><br></div><div>KK<br></div><div><br></div><div class="gmail_quote"><div dir="ltr">On Mon, Dec 17, 2018 at 11:53 AM Dirk Eddelbuettel <<a href="mailto:edd@debian.org">edd@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
On 17 December 2018 at 13:30, Nicholas Rittler wrote:<br>
| I've had no luck arguing that this warning is a false positive with Uwe<br>
| Ligges. How long does this usually take?<br>
<br>
Nobody knows. If in doubt, try to make the issue go away.<br>
<br>
| What is more, while the issue has been resolved in the Boost code, it seems<br>
| to my untrained eye that winbuidler is indeed setting "-pedantic", which<br>
| it's not supposed to do. Is that not the implication of the following lines<br>
| from my winbuilder logs, along with the fact that I don't set -pedantic in<br>
| my Makevars.win or Makeconf file?:<br>
| <br>
| *** arch - x64<br>
| d:/Compiler/gcc-4.9.3/mingw_64/bin/g++ -m64<br>
| -I"D:/RCompile/recent/R/include" -DNDEBUG -I.<br>
| -I"d:/RCompile/CRANpkg/lib/3.6/BH/include"<br>
| -I"d:/RCompile/CRANpkg/lib/3.6/bigmemory/include"<br>
| -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include"<br>
| -I"d:/RCompile/CRANpkg/lib/3.6/RcppArmadillo/include"<br>
| -I"d:/Compiler/gcc-4.9.3/local330/include"     -pedantic -O2 -Wall<br>
| -mtune=core2 -c RcppExports.cpp -o RcppExports.o<br>
<br>
You can never delete flags for your _package_ which are coming from the _R<br>
binary_ itself. C'est la vie.<br>
<br>
Can you remind us _what your error was_ ?  There are a bazillion config<br>
options to Boost.  Eg adding -DBOOST_NO_AUTO_PTR tells the Boost library no<br>
to use an idiom about which newer compiler complain a lot. (And eg I sent a<br>
PR to the dplyr team to add this which they, after sitting on it for three<br>
weeks, now merged.)<br>
<br>
| On Mon, Nov 5, 2018 at 11:34 PM Qiang Kou <<a href="mailto:qkou@qkou.info" target="_blank">qkou@qkou.info</a>> wrote:<br>
| <br>
| > Hi, Nicholas,<br>
| ><br>
| > First, what you reported is a known issue from boost [1], not Rcpp.<br>
| ><br>
| > Second, this issue has been fixed in boost 1.69 [2] and the bh package<br>
<br>
What is the issue again? I have BH 1.69 ready but cannot upload it as three<br>
packages regress so need to make time to write to their maintainers.<br>
<br>
Dirk<br>
<br>
-- <br>
<a href="http://dirk.eddelbuettel.com" rel="noreferrer" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a><br>
</blockquote></div></div>