With gcc 2.5.8 under linux the program
#include <math.h>
main(){
finite(1.);
}
compiles only if the flag -O is used, for else it expects to find the routine
"finite" in libm.a. Why isn't it there?
#include <math.h>
main(){
finite(1.);
}
compiles only if the flag -O is used, for else it expects to find the routine
"finite" in libm.a. Why isn't it there?
Please mention your library version.
Anyway thanx. This is a bug. The include "math.h" doesn't have the prototype
if optimization flags are switched off. Either way the ony effect should be a
warning as the function *does* exist in libm.a (well at least in mine)
% nm /usr/lib/libm.a |grep finite
__finite.o:
00000000 T ___finite
finite.o:
U ___finite
00000000 I _finite
You can prototype the function yourself in the program until the prototype is
fixed.
Mitch
1. GETSERVBYNAME()????????????????????"""""""""""""
Hi,
Does anyone know why
struct servent *serv;
serv=getservbyname("exec","tcp");
gives a warning err of incomparible pointer type?
I also can't get rexec to function. It compiles ok....
Thanks
Kirk
2. Sick of SPAM?? Fight back!!!
3. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
5. Type "(", ")" and "{", "}" in X...
6. Communicater 4.x under Linux
7. apache compile error "collect2: Library libm not found"
9. gnu g++ "collect2: Library libm not found"
10. Netscape: "libm.so.4" not found
11. Troubles linking with "-g" and "libm/libXext"
12. "umsdos" vs "vfat" vs "looped ext2"
13. "Novell-like","non-TCP/IP","networking" OS to place Unix