On Tue, 21 Aug 2018 16:37:43 -0500 Cornelius Keck <ckeck(a)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(a)piermont.com