<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Dear RcppDev, </font><br>
<p><font face="monospace">A new warning has emerged in mingw
compilation on CRAN. The message:</font></p>
<p><font face="monospace">*** arch - x64<br>
make[1]: Entering directory
'/d/temp/RtmpsZcaWL/R.INSTALLb59426674c3e/rEDM/src-x64'<br>
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<br>
In file included from
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/ThreadPool.hpp:11,<br>
from
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread.h:12,<br>
from RcppEDMCommon.h:12,<br>
from CCM.cpp:2:<br>
d:/RCompile/CRANpkg/lib/4.1/RcppThread/include/RcppThread/quickpool.hpp:
In static member function 'static quickpool::ThreadPool&
quickpool::ThreadPool::global_instance()':<br>
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=]<br>
static auto ptr = new ThreadPool;<br>
^~~~~~~~~~<br>
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<br>
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<br>
</font></p>
<p><font face="monospace">--<br>
</font></p>
<font face="monospace">Any ideas to address this? The packages uses
C++11.</font><br>
<font face="monospace"><br>
Thank you!</font><br>
<font face="monospace"><br>
Sincerely,</font><br>
<font face="monospace"><br>
J Park</font>
<p><font face="monospace"><br>
</font></p>
</body>
</html>