🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c.moderated
Article #2576

Re: include file checking

#2576
From: Tom McGlynn
Date: Thu, 11 Apr 1996 23:49
13 lines
1047 bytes
K Goldman (kgold@watson.ibm.com) wrote:
: Is there an automated way to insure that I have included all the
: header files that I need in my source code?

If possible, tell your compiler to check for this.

For example, the -v option for SPARCcompiler 3.0 gives messages similar to:

"temp.c", line 3: warning: implicitly declaring function to return int: help()

--
The preceding is my opinion and not necessarily the opinion of my
employer.
Technical Details
Message-ID: <4kk5qm$g5u@solutions.solon.com>
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
References: <4khl1h$stq@solutions.solon.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail
From: tjm@ed.ray.com (Tom McGlynn)
Newsgroups: comp.lang.c.moderated
Subject: Re: include file checking
Date: 11 Apr 1996 18:49:42 -0500
Organization: Raytheon Electronic Systems
Sender: clc@solutions.solon.com
Approved: clc@solutions.solon.com
Message-ID: <4kk5qm$g5u@solutions.solon.com>
References: <4khl1h$stq@solutions.solon.com>
NNTP-Posting-Host: solutions.solon.com
X-Authentication-Warning: The author was not authenticated.
X-Disclaimer: This is the author's opinion and not that of Raytheon Company.
X-Newsreader: TIN [version 1.2 PL2]