[Bug c/86668] mixing ansi prototype with K&R definition

amrosalem820 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 25 16:27:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86668

--- Comment #3 from amr <amrosalem820 at gmail dot com> ---
(In reply to Andreas Schwab from comment #1)
> Please use gcc-help@gcc.gnu.org for user questions.
> 
> With the prototype in scope the non-prototyped definition of fun is
> adjusted.  This doesn't happen if the prototype is no longer in scope.  If
> you want defined behaviour you need to use the correct prototype with the
> argument declared as double.

what is the meaning of in scope here , sir ,,


More information about the Gcc-bugs mailing list