Re: Educational question on compiling (analyzing) the C programming language

2024-10-10 Thread Andreas Schwab via Gcc
On Okt 10 2024, Florian Weimer wrote: > * Laurent Cimon via Gcc: > >> I realize that compilers have evolved with time, and that many >> things required the use of function prototypes, but my question is, >> what is the historical reason that a function defined further down >> in a C file cannot be

Re: Educational question on compiling (analyzing) the C programming language

2024-10-10 Thread Florian Weimer
* Laurent Cimon via Gcc: > I realize that compilers have evolved with time, and that many > things required the use of function prototypes, but my question is, > what is the historical reason that a function defined further down > in a C file cannot be used without a function prototype? The most