From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!nntpd.lkg.dec.com!tle.enet.dec.com!brett From: brett@tle.enet.dec.com (Bevin Brett) Newsgroups: comp.lang.ada Subject: Re: Use pragma INLINE or not? Message-ID: <23701@shlump.lkg.dec.com> Date: 20 Jun 91 13:07:48 GMT Sender: newsdaemon@shlump.lkg.dec.com Organization: Digital Equipment Corporation List-Id: ... >>There seem to be 2 schools of thought: ... Pragma INLINE gives a compiler permission to establish a dependency on a library level compilation unit BODY in order to do the inlining. This permission is not granted without the pragma. So the advice is. Don't both if the body is in the same library level unit as the call, otherwise use if if necessary to give permission for extra dependencies. /Bevin