HP3000-L Archives

December 2001, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Dirickson <[log in to unmask]>
Reply To:
Steve Dirickson <[log in to unmask]>
Date:
Sat, 29 Dec 2001 04:02:15 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
> 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 *

ATOM RSS1 RSS2