Hi,
I am trying to fix #513272, a FTBFS on armel. The problem basically
boils down to the following snippet failing to compile on armel
(tested
with a Debian lenny on a qemu-emulated armel system):
-------------------------
#include <cmath>
using namespace std;
int main ()
{
double val = 3.4;
int res;
res = roundl(val);
}
-------------------------
yields
-------------------------
debian-armel:~# g++ -Wall test.cpp
test.cpp: In function ‘int main()’:
test.cpp:9: error: ‘roundl’ was not declared in this scope
-------------------------
On i386 and amd64 this works fine. The solution is probably simple,
but
I could not determine it. Suggestions are very much appreciated.
Thanks in advance,
Michael