Newsgroups: comp.lang.c Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!psuvm!cunyvm!uupsi!grebyn!ckp From: ckp@grebyn.com (Checkpoint Technologies) Subject: Re: Should I use macros to inline code? Message-ID: <1991Mar27.194825.1834@grebyn.com> Organization: Grebyn Timesharing References: <1991Mar27.024602.21399@visix.com> Date: Wed, 27 Mar 1991 19:48:25 GMT In article <1991Mar27.024602.21399@visix.com> adam@visix.com writes: > >Hi, a quick question -- > >Given today's C compilers, is there any reason at all to explicitly >inline code with macros? I think so. In-lining with macros always works, so you are insulating yourself from the compiler's quality somewhat. I also notice that more "advanced" implementations (GCC, C++) give you an "inline" keyword, rather than improve their own automatic inlining quality. But of course this is only my opinion. -- First comes the logo: C H E C K P O I N T T E C H N O L O G I E S / / ckp@grebyn.com \\ / / Then, the disclaimer: All expressed opinions are, indeed, opinions. \ / o Now for the witty part: I'm pink, therefore, I'm spam! \/