[TUHS] About Unix header files
Perry E. Metzger
perry at piermont.com
Wed Aug 22 23:44:52 AEST 2018
On Tue, 21 Aug 2018 16:37:43 -0500 Cornelius Keck <ckeck at texoma.net>
wrote:
> Early C-compilers didn't care much about prototypes. The default
> return type of a function would be an int. It was up to the code's
> author to pass the right (amount, order, type). The linker didn't
> care about signatures as long as the symbol resolved.
To my knowledge, object file formats still don't have information
about type signatures, and linkers still don't care about types. This
is actually a problem. It would probably prevent a lot of errors if
those things changed.
Perry
--
Perry E. Metzger perry at piermont.com
More information about the TUHS
mailing list