Re: [R-pkg-devel] Warning of DDRTree

2017-04-14 Thread Xiaojie Qiu
thanks a lot. I used the option on SystemRequirements: C++11 which works pretty good On Thu, Apr 13, 2017 at 7:40 PM Dirk Eddelbuettel wrote: > > On 14 April 2017 at 01:49, Xiaojie Qiu wrote: > | We are planning to update the DDRTree package but found the following > | warnings: > | > | > > d:

Re: [R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Dirk Eddelbuettel
On 14 April 2017 at 01:49, Xiaojie Qiu 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:/RCo

Re: [R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Kevin Ushey
You can try placing this in your src/Makevars[.win] file: CXXFLAGS = -DBOOST_NO_LONG_LONG The dplyr package does this (and more) to avoid 'long long' leaking in from Boost headers. See e.g. https://github.com/tidyverse/dplyr/blob/ff719f53f88f2f03a298fa0ea489b902527ee2f1/src/Makevars#L2 The

[R-pkg-devel] Warning of DDRTree

2017-04-13 Thread Xiaojie Qiu
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/buc