This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25284] incorrect double value returned from function testo() called from main().
- From: "gnassre at earthlink dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2005 19:45:18 -0000
- Subject: [Bug c/25284] incorrect double value returned from function testo() called from main().
- References: <bug-25284-11827@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from gnassre at earthlink dot net 2005-12-06 19:45 -------
(In reply to comment #1)
> The C standard says that if a function is not declared (prototyped) then
> implicately it returns the type of int.
>
ok thanks, that makes sense =)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25284