Fails to Compile in R >= 3.3.0
Closed this issue · 0 comments
mfansler commented
Errors of the form:
In file included from /nfs/sw/R/R-3.3.0/lib64/R/include/R.h:43:0,
from bed2vector.cc:14:
/usr/include/c++/4.8.2/cmath: In function ‘float std::abs(float)’:
/usr/include/c++/4.8.2/cmath:87:16: error: declaration of C function ‘float std::abs(float)’ conflicts with
abs(float __x)
^
/usr/include/c++/4.8.2/cmath:81:3: error: previous declaration ‘double std::abs(double)’ here
abs(double __x)
^
The follow thread addresses this:
https://stat.ethz.ch/pipermail/bioc-devel/2016-March/008801.html