Subject: | |
From: | |
Reply To: | |
Date: | Sat, 29 Dec 2001 04:02:15 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
> C has the irritating property of assuming that any function
> you reference
> but do not define exists as (IIRC) a function taking int
> parameters and
> returning an int functional result.
Actually, it's even a bit worse: in the absence of function
prototypes, when a C translator encounters a previously-unseen
identifier in the form of a function call, it assumes "function
returning int", and makes no assumptions about the parameters. If it
later encounters a different form of the identifier with different
parameters that are conversion-compatible with the previous version,
well, that's OK too. Ugh.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|