From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Portable types
Date: 19 Mar 2004 08:23:46 -0500
Date: 2004-03-19T08:23:46-05:00 [thread overview]
Message-ID: <mailman.117.1079702637.327.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <c3e7qn$2oe$1@e3k.asi.ansaldo.it>
"Riccardo" <kk@kk.com> writes:
> Thanks !
>
> My problem was of course not to define new types but to use the same type
> (with the same source files!) on both the consoles (a Sun Spark and an Alpha
> Digital ).
>
> So in defining new types I have to be sure that I don't have to manage
> different source codes.
>
> I'm looking for a sort of pragma that should help me to share the needs of
> the two implementations (as the "conditional compilation" in C).
>
> I saw that the pragma System is a deprecated one.
>
> Is there something useful that allows the operation?
I'm not clear what you are asking.
Apparently you want to write some source code that is portable between
a Sun Spark (running what OS?) and Compaq Alpha (Digital was bought by
Compaq; I don't think they make Alphas anymore) (running what OS?).
Ada is very good for writing portable code. But to give you specific
help, I need to see the source that you want to be portable.
--
-- Stephe
next prev parent reply other threads:[~2004-03-19 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-19 7:33 different compilers: different standard types????? Riccardo
2004-03-19 13:10 ` Martin Dowie
2004-03-19 13:23 ` Stephen Leake [this message]
2004-03-19 17:02 ` Portable types Georg Bauhaus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox