[comp.sys.mac.programmer] Using prototypes

mike@odgate.odesta.com (Mike J. Kelly) (04/19/91)

David Byers writes:
>C compilers (mercifully) does not complain if a function called is not
>declared, but the compiler willl make certain assumptions, leaving it
>to the linker to find the function.
>

Not so mercifully, as the example you responded to illustrates (function
returning long implicitly declared as returning an int).  That's one
reason that we ALWAYS run Think C with the "Require Prototypes" preference
turned on.