News for hackers. Stuff that matters.
Re:Porting to GCC 14: C language issues by Joker_vD on Monday February 19, 2024 @12:54PM (#39432630)
> This doesn't work in C because the function is not necessarily defined in the same translation unit.

It does work in C ― that's what the include files are for (among other things), after all. So it's possible to be able to forward-declare functions outside the translation unit only (extern-declare?), those inside the translation units don't need to even if the compiler works in a single pass. And those external declaration could still be introduced at the very end of the translation unit and still would count. I dunno, seems like a pretty reasonable idea.

There are no comments on this comment yet.