ries@venice.SEDD.TRW.COM (Marc Ries) (03/03/90)
What (if there is any) is the trick for getting lint to work on X/Motif source code? Even after twidling with the -Wc options, I can never get lint to completely go through a source file (most of the time I get an Asciz table overflow error with a resulting "cc: Fatal error in /lib/cpp": ie: lint -u -Wc,-Na800000 -Wc,-Nd4000 -Wc,-Ns4000 -Wc,-Nt50000 \ -DNLS16 -Dhp9000s300 -DSYSV -DHPUX $1 -- Marc Ries ries@venice.sedd.trw.com (ARPA) somewhere!trwind!venice!ries (UUCP) #include <std.disclaimer>
mev@hpfcso.HP.COM (Mike Vermeulen) (03/04/90)
> lint -u -Wc,-Na800000 -Wc,-Nd4000 -Wc,-Ns4000 -Wc,-Nt50000 \ > -DNLS16 -Dhp9000s300 -DSYSV -DHPUX $1 Try: lint -u -Na800000 -Nd4000 -Ns4000 -Nt50000 -DNLS16 -Dhp9000s300 -DSYSV -DHPUX $1 --mev
andreas@hpcvlx.cv.hp.com (Jim Andreas) (03/18/90)
This should work too, hopefully. #!/bin/sh # # script to lint a BIG file. # lintopts="-u -v -ax -Na50000 -Nb500 -Nd4000 -Ne1000 -Np500 -Ns3000 -Nt40000 -Nw500 -Zf500 -Zn5000 -Zt15000" set -x lint $lintopts $* /usr/lib/llib-Xm.ln /usr/lib/llib-lXt.ln /usr/lib/llib-lX11.ln ----------------------------------------------------------------------- Jim Andreas | andreas@cv.hp.com | INTERNET Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!andreas | UUCP 1000 N.E. Circle | (USA) (503) 750-2860 | VOICE Corvallis, OR 97330 | (USA) (503) 750-3788 | FAX ----------------------------------------------------------------------- This response does not represent the official position of, or statement by, the Hewlett-Packard Company. The above data is provided for informational purposes only. It is supplied without warranty of any kind. -----------------------------------------------------------------------