comp.lang.ada
 help / color / mirror / Atom feed
From: Hannes Haug <Hannes.Haug@Student.Uni-Tuebingen.de>
Subject: Re: Q: inlining
Date: 1996/06/16
Date: 1996-06-16T00:00:00+00:00	[thread overview]
Message-ID: <uvvd92zuczi.fsf@chaq.informatik.uni-tuebingen.de> (raw)
In-Reply-To: uvv20jh9j7p.fsf@chaq.informatik.uni-tuebingen.de


>>>>> "Jon" == Jon S Anthony <jsa@organon.com> writes:

    Jon> In article <uvv20jh9j7p.fsf@chaq.informatik.uni-tuebingen.de>
    Jon> Hannes Haug <Hannes.Haug@Student.Uni-Tuebingen.de> writes:
    >> Hi,
    >> 
    >> I'm new to Ada and have a question on inlining. Does inlining
    >> work across compilation units ? In C I can

    Jon> It can, yes.  I'm not sure if this is working in GNAT 3.05
    Jon> yet or not.

I know that this is possible. I just wanted to know if compilers actually do
it. I finally found the option for GNAT: -gnatn.


    >> write the function definition in a header file. How can I do
    >> this in Ada ?

    Jon> In a package specification.  In fact, this is virtually a
    Jon> requirement to getting any "real" work done.

I know. This made me look at Ada. It's really ugly to put all the stuff
in header files.

 - hannes




  parent reply	other threads:[~1996-06-16  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-15  0:00 Q: inlining Hannes Haug
1996-06-15  0:00 ` Jon S Anthony
1996-06-16  0:00   ` Robert Dewar
1996-06-17  0:00   ` Tucker Taft
1996-06-18  0:00   ` Jon S Anthony
1996-06-16  0:00 ` Hannes Haug [this message]
1996-06-18  0:00 ` Jon S Anthony
1996-06-19  0:00   ` Tucker Taft
1996-06-20  0:00     ` Robert Dewar
1996-06-20  0:00 ` Hannes Haug
1996-06-20  0:00   ` Robert Dewar
1996-06-24  0:00 ` Hannes Haug
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox