Re: [Rcpp-devel] deprecated log_max warning

2016-04-26 Thread Yue Li
I see. Thank you Dirk. Yue > On Apr 26, 2016, at 11:33 AM, Dirk Eddelbuettel wrote: > > > On 21 April 2016 at 16:31, Yue Li wrote: > | Thank you Dirk and Yixuan! Indeed, '-Wno-deprecated-declarations’ suppresses > | the warning. > > And just to follow-up, this has now been fixed upstream in Ar

Re: [Rcpp-devel] deprecated log_max warning

2016-04-26 Thread Dirk Eddelbuettel
On 21 April 2016 at 16:31, Yue Li wrote: | Thank you Dirk and Yixuan! Indeed, '-Wno-deprecated-declarations’ suppresses | the warning. And just to follow-up, this has now been fixed upstream in Armadillo too. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _

Re: [Rcpp-devel] deprecated log_max warning

2016-04-21 Thread Yue Li
Thank you Dirk and Yixuan! Indeed, '-Wno-deprecated-declarations’ suppresses the warning. Best, Yue > On Apr 21, 2016, at 4:26 PM, Dirk Eddelbuettel wrote: > > > On 21 April 2016 at 15:58, Yixuan Qiu wrote: > | It looks like a "bug" of Armadillo. In fn_trunc_exp.hpp, trunc_exp() > | calles Ma

Re: [Rcpp-devel] deprecated log_max warning

2016-04-21 Thread Dirk Eddelbuettel
On 21 April 2016 at 15:58, Yixuan Qiu wrote: | It looks like a "bug" of Armadillo. In fn_trunc_exp.hpp, trunc_exp() | calles Math::log_max() that has already been labeled deprecated. Good catch. I concur. CC'ing Conrad. Dirk | Best, | Yixuan | | 2016-04-21 15:51 GMT-04:00 Dirk Eddelbuettel

Re: [Rcpp-devel] deprecated log_max warning

2016-04-21 Thread Yixuan Qiu
It looks like a "bug" of Armadillo. In fn_trunc_exp.hpp, trunc_exp() calles Math::log_max() that has already been labeled deprecated. Best, Yixuan 2016-04-21 15:51 GMT-04:00 Dirk Eddelbuettel : > > Hi Yue, > > On 21 April 2016 at 15:44, Yue Li wrote: > | Dear List, > | > | Just a super naive (du

Re: [Rcpp-devel] deprecated log_max warning

2016-04-21 Thread Dirk Eddelbuettel
Hi Yue, On 21 April 2016 at 15:44, Yue Li wrote: | Dear List, | | Just a super naive (dumb) question: after upgrading to RcppArmadillo_0.6.700.3.0 Rcpp_0.12.4, I receive compilation warning ''log_max' has been explicitly marked deprecated here” on every line of my code that uses ‘trunc_exp’ o