Subject: RE: gcc/libc bug with call to atof() (Win95)
From: [email-masked] (Colin Peters)

28 Oct 1998 18:49:47 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
To: "Martin Hansen" <[email-masked]>
Cc: "GNU-win32" <[email-masked]>

Martin Hansen <[email-masked]> wrote:
>in my version of gnu-win32 I encounter the following bug with
>gcc/libc.

[snip: bad results from a function returning double when not prototyped]

Compile with -Wall to turn on all warnings. For some reason by default gcc
does not complain about the implicit prototyping of a function, which
amounts to assuming that the function returns int. Turning on all warnings
will tell you about it (but it will still compile).

- Colin Peters - colin at fu.is.saga-u.ac.jp
- http://www.geocities.com/Tokyo/Towers/6162/index.html
- Go not to usenet for counsel, for it will say both
- 'yes' and 'no' and 'try another newsgroup'.

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".