Hi Oliver, > g++-2.95 -c -pipe -DQWS -fexceptions -fno-rtti -Wall -W -g -std=c99 > -I/opt/Qtopia/include -o orderimpl.o orderimpl.cpp > orderimpl.cpp: In method `void OrderImpl::calculate_line(int)': > orderimpl.cpp:84: implicit declaration of function `int round(...)'
this sounds like <math.h> doesn't give you the prototype for round(). Try to run <math.h> through the preprocessor alone (g++-2.95 -std=c99 -E /usr/include/math.h), and grep for "round". I don't get the definition with "g++-3.3" alone, but with "g++-3.3 -std=c99" I do... YMMV. I've got no g++-2.95 here to continue the tests. HTH, Jan -- Jan C. Nordholz <jckn At gmx net>
signature.asc
Description: Digital signature