turbo-C and lint ?

RAMontante bobmon at iuvax.cs.indiana.edu
Wed Mar 21 14:43:17 AEST 1990


alanf at bruce.OZ (Alan Grant Finlay) <1966 at bruce.OZ> :
-main()
-{
-check(10l,"testing");
-}
-
-If you now remove the l after the 10 in the procedure call the compiler
-issues no relevant warnings and the program misbehaves.  Can Turbo-C 
-generate a warning for this kind of error?

The "Portability Warnings" sub-sub-sub-menu includes `long constant'
warnings as well as others.  Go through the Options menu and turn on
all the warnings and errors that you care about.  They're all available
in the command-line version as well.  The factory default turns most of
these off, so you may not have known they were there.



More information about the Comp.lang.c mailing list