Re: some strange strtod behaviour, please help
On 7/7/06, O. Hartmann [EMAIL PROTECTED] wrote: Hello out here, sorry bothering you with some standard issues ... I ran into trouble with a routine from string.h. No, from stdlib.h man strtod says: SYNOPSIS #include stdlib.h #include stdio.h #include math.h #include string.h #include stdlib.h will solve your problems... -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: some strange strtod behaviour, please help
Pietro Cerutti wrote: On 7/7/06, O. Hartmann [EMAIL PROTECTED] wrote: Hello out here, sorry bothering you with some standard issues ... I ran into trouble with a routine from string.h. No, from stdlib.h man strtod says: SYNOPSIS #include stdlib.h #include stdio.h #include math.h #include string.h #include stdlib.h will solve your problems... Yes, it does. Thanks ... I wonder why the compiler did not moan about a unknow call ... Thnaks a lot, oh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: some strange strtod behaviour, please help
On 7/7/06, O. Hartmann [EMAIL PROTECTED] wrote: Pietro Cerutti wrote: On 7/7/06, O. Hartmann [EMAIL PROTECTED] wrote: Hello out here, sorry bothering you with some standard issues ... I ran into trouble with a routine from string.h. No, from stdlib.h man strtod says: SYNOPSIS #include stdlib.h #include stdio.h #include math.h #include string.h #include stdlib.h will solve your problems... Yes, it does. Thanks ... I wonder why the compiler did not moan about a unknow call ... Because it could be an error or not, depending on what standard are you using. In C89 a function without a prototype is implicitly declared. This is not true if your're working in C99. Using cc with -Wimplicit as option will show you warnings about implicit function declarations.. Using cc with -Wall as option is usually good practice Thnaks a lot, oh -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]