<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<pre><font face="monospace">Thank you Iñaki.
</font></pre>
<pre><font face="monospace">I opened an issue on the github.com/tnagler/RcppThread/ repository. </font></pre>
<pre><font face="monospace">JP</font></pre>
<pre><font face="monospace">
</font></pre>
<div class="moz-cite-prefix"><font face="monospace">On 1/26/22 7:57
PM, Iñaki Ucar wrote:</font><br>
</div>
<blockquote type="cite"
cite="mid:CALEXWq3oRi3VNs6nB8Da8wTJGgZsDYAb7MWSkAEO7sf0myY2nw@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">On Wed, 26 Jan 2022 at 19:02, Joseph Park <a class="moz-txt-link-rfc2396E" href="mailto:josephpark@ieee.org"><josephpark@ieee.org></a> wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">
Dear RcppDev,
A new warning has emerged in mingw compilation on CRAN. The message:
*** arch - x64
make[1]: Entering directory '/d/temp/RtmpsZcaWL/R.INSTALLb59426674c3e/rEDM/src-x64'
d:/Compiler/rtools40/mingw64/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-4.1.2/include" -DNDEBUG -I./cppEDM/src -I../ -I'd:/RCompile/CRANpkg/lib/4.1/Rcpp/include' -I'd:/RCompile/CRANpkg/lib/4.1/RcppThread/include' -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c CCM.cpp -o CCM.o
In file included from d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/ThreadPool.hpp:11,
from d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread.h:12,
from RcppEDMCommon.h:12,
from CCM.cpp:2:
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/quickpool.hpp: In static member function 'static quickpool::ThreadPool& quickpool::ThreadPool::global_instance()':
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/quickpool.hpp:719:31: warning: 'new' of type 'quickpool::ThreadPool' with extended alignment 64 [-Waligned-new=]
static auto ptr = new ThreadPool;
^~~~~~~~~~
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/quickpool.hpp:719:31: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/quickpool.hpp:719:31: note: use '-faligned-new' to enable C++17 over-aligned new support
--
Any ideas to address this? The packages uses C++11.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
RcppThread is not part of RcppCore. The upstream repo is [1]. Please,
report it there. Version 2.0.0 was released yesterday on CRAN and it's
currently failing on a couple of platforms [2].
[1] <a class="moz-txt-link-freetext" href="https://github.com/tnagler/RcppThread">https://github.com/tnagler/RcppThread</a>
[2] <a class="moz-txt-link-freetext" href="https://cran.rstudio.com/web/checks/check_results_RcppThread.html">https://cran.rstudio.com/web/checks/check_results_RcppThread.html</a>
</pre>
</blockquote>
</body>
</html>