[Rcpp-devel] Compilation error in Rcpp

Karl Millar kmillar at google.com
Thu Nov 15 17:40:20 CET 2012


Yes.  I think only fairly recent versions of clang pick up on this though.


On Thu, Nov 15, 2012 at 4:34 AM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> On 14 November 2012 at 21:57, Karl Millar wrote:
> | In the Rcpp 0.10.0,
> inst/include/Rcpp/sugar/logical/SingleLogicalResult.h there
> | is the code:
> |
> | template <bool x>
> | class conversion_to_bool_is_forbidden :
> | conversion_to_bool_is_forbidden<x>{
> |
> | Which obviously can't be instantiated.
> |
> | Presumably the code should be:
> |
> | template <bool x>
> | class conversion_to_bool_is_forbidden :
> | forbidden_conversion<x>{
>
> Ding. And with that I realize that with all the testing, I didn't use
> clang.
>
> Did clang find that for you?
>
> Dirk
>
> --
> Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20121115/91ad97fd/attachment.html>


More information about the Rcpp-devel mailing list