Re: [Rcpp-devel] FW: Rcpp attributes.cpp issue

2015-04-18 Thread Latchezar (Lucho) Dimitrov
Hi Kevin, Yes, your understanding was correct ☺. My problem is I cannot w/o going deep into the logic of the implementation to get the intent and from it the type to cast. I am afraid I have to ask you: Are you sure size_t is the type to cast in the context of attributes.cpp? Otherwise by intui

Re: [Rcpp-devel] FW: Rcpp attributes.cpp issue

2015-04-18 Thread Kevin Ushey
IIUC, from the build errors you're seeing, the compiler can't decide if it should convert `0U` (unsigned int) to an `unsigned long` or a `char*` (e.g. as a null pointer). In other words, these two overloads are competing: void insert (iterator p, size_t n, char c); string& insert (size_t pos,

[Rcpp-devel] FW: Rcpp attributes.cpp issue

2015-04-18 Thread Latchezar (Lucho) Dimitrov
OK. Here it is. Hi All, Please see bellow my original e-mail to Mr. Eddelbuettel. Help anyone? I do not need necessarily a Solaris user, rather someone who knows the actual types of 0U bellow or another way to resolve the ambiguity. Thanks a lot, Latchezar " Dear Mr. Eddelbuettel, I have ju