Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ucsd!chem.ucsd.edu!tps From: tps@chem.ucsd.edu (Tom Stockfisch) Newsgroups: comp.lang.c Subject: Re: lint on malloc calls Message-ID: <289@chem.ucsd.EDU> Date: 10 Sep 88 19:09:45 GMT References: <39617@linus.UUCP> <660017@hpclscu.HP.COM> Reply-To: tps@chem.ucsd.edu (Tom Stockfisch) Organization: Chemistry Dept, UC San Diego Lines: 15 In article <660017@hpclscu.HP.COM> shankar@hpclscu.HP.COM (Shankar Unni) writes: >> >> phone.c(61): warning: illegal pointer combination >> phone.c(61): warning: possible pointer alignment problem >A possible workaround to pacify your lint: >Declare malloc as > double *malloc(); This is most preverse. The point of trying to pacify lint is to make your code portable. You are proposing turning portable code into non-portable code to pacify lint. -- || Tom Stockfisch, UCSD Chemistry tps@chem.ucsd.edu