HP3000-L Archives

August 1996, Week 2

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 b894 WestWin <[log in to unmask]>
Reply To:
Steve Dirickson b894 WestWin <[log in to unmask]>
Date:
Thu, 8 Aug 1996 14:36:00 P
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
<<Moving from CCS C to HP C it appears we have lost a critical feature in
that we do not receive warnings for missing prototypes ? Is this true ?>>
 
Prototypes are an ANSI option, but the language has never required them;
as such, a missing prototype is neither an error nor a warning condition,
so no diagnostic is required. A compiler that issues diagnostics on
missing prototypes is certainly a good idea, and most of them tell you
something like "'yourfunctionwithnoprototype' undefined; assuming extern
returning int", but it's a non-standard extension. Since C/iX is
marginally ANSI anyway (and not even that by default), I don't think
you'll find it complaining about this one, even with "-w1".
 
Steve Dirickson         WestWin Consulting
(360) 598-6111  [log in to unmask]

ATOM RSS1 RSS2