Compiling code with tiger gcc 3.3 that previously compiled with gcc 3.3 under panther fails with the error below. I am not a c/c++ person, but i have been learning. Any help in getting this to compile would be appreciated. gcc 4.4 compiles OpenSceneGraph ok, but won't run on tiger, so i am trying to build it with 3.3.
thanks jim
In file included from /usr/include/gcc/darwin/3.3/c++/bits/locale_facets.tcc:41, from /usr/include/gcc/darwin/3.3/c++/locale:47, from /usr/include/gcc/darwin/3.3/c++/bits/ostream.tcc:37, from /usr/include/gcc/darwin/3.3/c++/ostream:515, from ../../include/osg/Notify:26,
r/include/gcc/darwin/3.3/c++/cmath: In function `float std::acos(float)': /usr/include/gcc/darwin/3.3/c++/cmath:99: error: parse error before `float' /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::asin(float)': /usr/include/gcc/darwin/3.3/c++/cmath:119: error: parse error before `float' /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::atan2(float, float)': /usr/include/gcc/darwin/3.3/c++/cmath:155: error: parse error before `float' /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::log(float)': /usr/include/gcc/darwin/3.3/c++/cmath:326: error: parse error before `float' /usr/include/gcc/darwin/3.3/c++/cmath: In function `float std::pow(float, float)': /usr/include/gcc/darwin/3.3/c++/cmath:401: error: parse error before `float'
|