Re: where does gcc generate float param passing code before function call?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"add" <addsub@xxxxxxxx> writes:

> -----   begin
> void main()
> {
>         float i=1.0;
>         foo(i);
> }
> void foo( float i )
> {
>         return i;
> }
> -----  end

This code is invalid, since foo has no prototype and doesn't match the
implicit declaration.

-- 
	Falk

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux