Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.lang.c Subject: Re: turbo-C and lint ? Keywords: PD lint Message-ID: <39163@iuvax.cs.indiana.edu> Date: 21 Mar 90 04:43:17 GMT Organization: malkaryotic Lines: 15 alanf@bruce.OZ (Alan Grant Finlay) <1966@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.