possible gcc/g++ problem

Geoff Keating geoffk@envy.cygnus.com
Fri Dec 31 20:54:00 GMT 1999


You need to add '-lm' to your link line, pow() is in the math library.
The C++ compiler does this for you because the C++ standard library
uses the math library.

-- 
- Geoffrey Keating <geoffk@cygnus.com>



More information about the Gcc-bugs mailing list