Skip to content
Prev 31344 / 63424 Next

New package test results available

Thomas Petzoldt wrote:
I changed it as requested, and include

#include <cmath>
#include <Rinternals.h>

... but still get the same error:

"simecol.cpp", line 224: Error: Overloading ambiguity between 
"floor(double)" and "std::floor(float)".
1 Error(s) detected.

http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-sun/simecol-00install.html

What's wrong here? My code is very short and extremely simple, without 
any new objects (yet), but fact only "plain C with some C++" extension.

What I'm making wrong? Would it be necessary that we all have a Linux 
installation with Sun Studio at hand?

Thanks a lot

Thomas P.