Date: Thu, 26 Feb 1998 07:10:07 -0800 (PST) From: Steve Price <steve> To: aryeh@rad-inet.com, steve, freebsd-bugs Subject: Re: misc/5856 Message-ID: <199802261510.HAA01500@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: atof/strtod busted State-Changed-From-To: open-closed State-Changed-By: steve State-Changed-When: Thu Feb 26 07:06:06 PST 1998 State-Changed-Why: Without #include <stdlib.h> the compiler assumes that atof returns an int, which will make you program not work. Solution: include the following lines at the top of your program: #include <stdio.h> #include <stdlib.h> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802261510.HAA01500>