Article View: comp.lang.c.moderated
Article #2574Re: include file checking
From: Andreas Schwab
Date: Thu, 11 Apr 1996 18:54
Date: Thu, 11 Apr 1996 18:54
16 lines
1224 bytes
1224 bytes
In article <4khl1h$stq@solutions.solon.com>, kgold@watson.ibm.com (K Goldman) writes: |> My compiler seems to check function prototypes if they exist, but |> is just as happy to not have them. Therefore . . . |> Is there an automated way to insure that I have included all the |> header files that I need in my source code? You don't say which compiler you use, but if you use GCC you can enable -Wmissing-prototypes, -Wstrict-prototypes, -Wmissing-declarations, and/or -Wimplicit, depending on what you want to check for. -- Andreas Schwab "And now for something schwab@issan.informatik.uni-dortmund.de completely different"
Technical Details
Message-ID:
<4kjkh7$bo6@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4khl1h$stq@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: schwab@lamothe.informatik.uni-dortmund.de (Andreas Schwab) Newsgroups: comp.lang.c.moderated Subject: Re: include file checking Date: 11 Apr 1996 13:54:31 -0500 Organization: Dortmund University, Germany Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4kjkh7$bo6@solutions.solon.com> References: <4khl1h$stq@solutions.solon.com> Reply-To: schwab@issan.informatik.uni-dortmund.de NNTP-Posting-Host: solutions.solon.com X-Newsreader: Gnus v5.0.15