M
mike
Hi
I wrote some code ages ago when I was not very hot on c++ but it
worked just fine. I had no problems compiling it on redhat 7.3 but
that box died recently so I tried compiling the code on my new RH 9
box and got the following error
In file included from /usr/include/c++/3.2.2/cstdlib:52,
from /usr/include/c++/3.2.2/bits/stl_algobase.h:67,
from /usr/include/c++/3.2.2/memory:54,
from /usr/include/c++/3.2.2/string:48,
from /usr/include/c++/3.2.2/bits/localefwd.h:49,
from /usr/include/c++/3.2.2/ios:48,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from lapackcmplx.h:8,
from tmatrix.cpp:2:
/usr/include/stdlib.h:742: parse error before `int'
In file included from /usr/include/c++/3.2.2/bits/stl_algobase.h:67,
from /usr/include/c++/3.2.2/memory:54,
from /usr/include/c++/3.2.2/string:48,
from /usr/include/c++/3.2.2/bits/localefwd.h:49,
from /usr/include/c++/3.2.2/ios:48,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from lapackcmplx.h:8,
from tmatrix.cpp:2:
/usr/include/c++/3.2.2/cstdlib:90: `abs' not declared
can anyone shed any light on this?
Thanks
Mike
I wrote some code ages ago when I was not very hot on c++ but it
worked just fine. I had no problems compiling it on redhat 7.3 but
that box died recently so I tried compiling the code on my new RH 9
box and got the following error
In file included from /usr/include/c++/3.2.2/cstdlib:52,
from /usr/include/c++/3.2.2/bits/stl_algobase.h:67,
from /usr/include/c++/3.2.2/memory:54,
from /usr/include/c++/3.2.2/string:48,
from /usr/include/c++/3.2.2/bits/localefwd.h:49,
from /usr/include/c++/3.2.2/ios:48,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from lapackcmplx.h:8,
from tmatrix.cpp:2:
/usr/include/stdlib.h:742: parse error before `int'
In file included from /usr/include/c++/3.2.2/bits/stl_algobase.h:67,
from /usr/include/c++/3.2.2/memory:54,
from /usr/include/c++/3.2.2/string:48,
from /usr/include/c++/3.2.2/bits/localefwd.h:49,
from /usr/include/c++/3.2.2/ios:48,
from /usr/include/c++/3.2.2/ostream:45,
from /usr/include/c++/3.2.2/iostream:45,
from lapackcmplx.h:8,
from tmatrix.cpp:2:
/usr/include/c++/3.2.2/cstdlib:90: `abs' not declared
can anyone shed any light on this?
Thanks
Mike