Bellybutton lint

utzoo!decvax!wivax!linus!vaxine!ptw utzoo!decvax!wivax!linus!vaxine!ptw
Fri Apr 8 17:18:04 AEST 1983


     What flag would one use with (4.1) lint to get it to tell you that

		char *string = input;

		for(; string != '\0'; string++)

is an error?  Seems to me that a character constant should not be allowed to
be compared to a pointer.

			     P. Tucker Withington
			     Automatix Incorporated
			     ...decvax!{wivax,genrad}!linus!vaxine!ptw
			     (617) 667-7900 x2044



More information about the Comp.lang.c mailing list