Skip to content

Can you make R Makevars specify gcc? ipcc fails. #62

@wdkrnls

Description

@wdkrnls

Hello,

I noticed that the Intel compiler barfs on your package when trying to link with piton.

icpc -std=gnu++11 -I"/opt/R/R-4.0.2-mkl/lib64/R/include" -DNDEBUG  -I'/home/me/R/lib/pro/4.0/Rcpp/include' -I'/home/me/R/lib/pro/4.0/piton/include' -I/usr/local/include   -fpic  -g -O2  -c xlex.cpp -o xlex.o
token_grammar.h(107): error: "seq" is ambiguous
                                     seq< plus< D >, opt< dot, plus< D > > > > {};
                                     ^
          detected during:
            instantiation of class "xltoken::decimal<D> [with D=tao::pegtl::ascii::digit]" at line 35 of "/home/me/R/lib/pro/4.0/piton/include/pegtl/internal/duseltronik.hpp"

It seems to build fine with gcc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions