Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!wuarchive!mailrus!ames!uhccux!virtue!comp.vuw.ac.nz!munnari.oz.au!bruce!merlin!tim From: tim@bhpmrl.oz.au (Tim Monks) Newsgroups: comp.sys.sgi Subject: Suppressing lint messages on arena_s and exit Keywords: lint arena_s undefined exit inconsistent Message-ID: <1589@merlin.bhpmrl.oz.au> Date: 26 Jul 90 02:44:00 GMT Sender: usenet@bhpmrl.oz.au Lines: 45 Has anyone got some ideas on how to suppress lint messages concerning arena_s and exit ? If I run lint as follows morgana > lint -bu -lc -lmalloc foo.c one the following program : #include #include int *NR_ivector(nl,nh) int nl,nh; { int *v; v=(int *)malloc((unsigned) (nh-nl+1)*sizeof(int)); if (!v) exit(1); return v-nl; } I get the following messages : foo.c ============== Warning: (13) struct/union arena_s never defined warning: possible pointer alignment problem (9) ============== value type declared inconsistently exit llib-lc.brl(50) :: foo.c(10) I'm not too grouchy over the warning about the pointer, that's fair, but how do I stop the messages about arena_s and exit ? Thanks, Tim -- Dr. Tim Monks Image Processing & Data Analysis Group | (direct) (+61-3)566-7448 BHP Melbourne Research Laboratories | (switch) (+61-3)560-7066 245 Wellington Rd, Mulgrave, 3170, | (fax) (+61-3)561-6709 AUSTRALIA | (EMAIL) tim@merlin.bhpmrl.oz.au