ftp.nice.ch/peanuts/GeneralData/Usenet/news/1990/CSN-90.tar.gz#/comp-sys-next/1990/Jul/re:-Debuggers-for-NeXT

This is re:-Debuggers-for-NeXT in view mode; [Up]


Date: Sun 12-Jul-1990 18:25:14 From: Unknown Subject: re: Debuggers for NeXT (plus lint) In <GUMBY.90Jul11194203@Cygnus.COM>, gumby@cygnus.com writes: > ... > Have you tried the -Wall option to the C compiler? No, it ain't lint, > but it enables warning on almost anything that might trip you up. We use the following 'csh' script, stored as '/usr/local/bin/lint' (a variant of which I posted long ago as an alias): #! /bin/csh set program = $0 cc -Wall -D$program:t -S -o /dev/null ${argv[1-]} unset program This runs 'cc' with no output and skips the assembly process--useful for a quick syntax check between edits. You can also pass it other 'cc' arguments (eg -I to affect where it finds include directories). And, assuming you call it 'lint', constructs like '#ifndef lint' in code should work right. But, it isn't the same as having 'real' lint, I still occasionally sneak over to the SparcStation to 'lint' (non-Objective) C code that I'm working on. - Christopher ------- Article 7051 of comp.sys.next: >From: stuart@previous.ADS.COM (Stuart Crawford)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.