[R-pkg-devel] Warning of DDRTree

Kevin Ushey kevinushey at gmail.com
Fri Apr 14 04:36:57 CEST 2017

You can try placing this in your src/Makevars[.win] file:


The dplyr package does this (and more) to avoid 'long long' leaking in
from Boost headers. See e.g.


The other alternative would be to just enforce the use of C++11 in
your package, by adding e.g.

    SystemRequirements: C++11

to your DESCRIPTION file, or

    CXX_STD = CXX11

to your src/Makevars[.win]. See
for more information.


On Thu, Apr 13, 2017 at 6:49 PM, Xiaojie Qiu <xqiu at uw.edu> wrote:
> We are planning to update the DDRTree package but found the following
> warnings:
>   d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/unordered/detail/buckets.hpp:586:29:
> warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
>   d:/RCompile/CRANpkg/lib/3.4/BH/include/boost/unordered/detail/buckets.hpp:591:38:
> warning: ISO C++ 1998 does not support 'long long' [-Wlong-long]
>  Those warnings seem to relate to boost but not to our package. Can anyone
> have some idea on how to fix this?
> The check log is here:
> https://win-builder.r-project.org/incoming_pretest/170414_025235_DDRTree_015/00check.log
> The windows install log is here:
> https://win-builder.r-project.org/incoming_pretest/170414_025235_DDRTree_015/00install.out
> Thanks in advance!
> Best,
> Xiaojie
>         [[alternative HTML version deleted]]
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

More information about the R-package-devel mailing list