I just want to make sure I'm not being stupid before I send in a bug.
The problem seems to be with gcc when using the pow function in the
math.h library. Here's code that works:
Now, the following will not compile:
int x = 2; // I tried these as doubles too since the pow function
int y = 3;
I compiled both programs using:
The second example gives the following error:
/var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
: undefined reference to `pow'
If I comile with g++, I have no issues. Are these results that I
should have? If so, why? If not, I'm going to submit the bug on gcc
(or the linker, but I'm guessing it's the same group).
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"