[Rcpp-devel] gcc 10 error: symbol `fun' is already defined
Iñaki Ucar
iucar at fedoraproject.org
Sun Feb 9 11:47:30 CET 2020
On Sun, 9 Feb 2020 at 03:36, Kevin Ushey <kevinushey at gmail.com> wrote:
>
> Here's an example program that fails to compile with gcc-10 for me:
>
> https://gist.github.com/kevinushey/cfa848be2d39ddd110f893d9b6c5ac9c
>
> So I think we can conclude this is a gcc-10 bug. It also fails with
> the contracts branch of gcc on godbolt (although with a different
> error):
>
> https://godbolt.org/z/dowsE5
>
> But gcc trunk seems okay.
Thanks for looking into this. Now I'm more confident bringing this upstream.
Iñaki
More information about the Rcpp-devel
mailing list