dickey@wxlvax.UUCP (Tom Dickey) (04/05/84)
* * Is there any reasonable way to shut up lint when using a literal string, e.g., strcpy (a, "string"); T.Dickey (ITT Advanced Technology Center, Shelton, CT)
gwyn@brl-vgr.ARPA (Doug Gwyn ) (04/06/84)
The following works just fine:
extern char *strcpy();
void func()
{
char *a;
a = "x";
(void)strcpy( a, "string" );
}
under the UNIX System V "lint". Maybe you have a sick "lint"?jrv@MITRE-BEDFORD.ARPA (James R. Van Zandt) (04/28/86)
I'm aware of four lint-type programs for checking C code on an MS-DOS machine:
PC-LINT Tecware $ 99
PC-Lint Gimpel Software $139
Pre-C Phoenix Computer Products Corp. $395
Lint Wizard Systems Software, Inc. $450 (bundled with compiler)
Can anyone report experience with these or others, or point to
published reviews?
Please send messages to me directly, as I don't monitor info-c. If
there's sufficient interest, I'll be glad to post a summary.
- Jim Van Zandt