News for hackers. Stuff that matters.
Re:Porting to GCC 14: C language issues by Someone on Monday February 19, 2024 @12:12PM (#39432152)
> There is no information about the function's prototype in the object file, so the linker can't determine that.

That that information isn’t there is an implementation choice.

For example, they could have hacked it in like C++ did by mangling names (https://en.wikipedia.org/wiki/Name_mangling). That probably would have required supporting longer identifiers (IIRC archives limited them to 14 characters), but that’s doable.

There are no comments on this comment yet.