Skip to content
Prev 2785 / 10988 Next

[Rcpp-devel] Experiences with clang/llvm compilation of Rcpp-based code on Debian-based distributions

On Mon, Aug 29, 2011 at 1:37 PM, Douglas Bates <bates at stat.wisc.edu> wrote:
Following up on my own post, clang++ doesn't like the
/usr/include/c++/4.5/type_traits header either.  If complains about a
construction that doesn't make sense to me but apparently is accepted
by g++

...
In file included from /usr/include/c++/4.5/iterator:63:
In file included from /usr/include/c++/4.5/bits/stl_iterator.h:66:
In file included from /usr/include/c++/4.5/bits/move.h:38:
In file included from /usr/include/c++/4.5/type_traits:50:
/usr/include/c++/4.5/tr1_impl/type_traits:230:41: error: expected ')'
    struct is_function<_Res(_ArgTypes......)>
                                        ^
I don't know what the ...... construction is but it occurs several
times in that file.