comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com
Subject: Re: Normalize_Scalars
Date: 7 Feb 2007 07:36:04 -0800
Date: 2007-02-07T07:36:04-08:00	[thread overview]
Message-ID: <1170862564.633232.263420@q2g2000cwa.googlegroups.com> (raw)
In-Reply-To: <eqcohu$qrn$1@cernne03.cern.ch>

> Portable code? :-)
>
> But to be frank, I'm fine with GNAT-only Initialize_Scalars. Thank you
> for pointing me in this direction.

Anyway, you are not obliged to pollute your code with testing and/or
unportable pragmas. You can put them
in a file like "debug.pra" and compile with -gnatecdebug.pra .
Advantages:
- all your sources will be compiled with the pragma
- you can keep a debug/test version and also have a fast one without
changing source.
- you can use also another Ada compiler for release (or not...).

G.




  reply	other threads:[~2007-02-07 15:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-07 13:33 Normalize_Scalars Maciej Sobczak
2007-02-07 13:59 ` Normalize_Scalars gautier_niouzes
2007-02-07 14:15   ` Normalize_Scalars gautier_niouzes
2007-02-07 14:43     ` Normalize_Scalars Maciej Sobczak
2007-02-07 15:36       ` gautier_niouzes [this message]
2007-02-07 15:36       ` Normalize_Scalars Alex R. Mosteo
2007-02-07 22:12         ` Normalize_Scalars Simon Wright
2007-02-08 10:43           ` Normalize_Scalars Alex R. Mosteo
replies disabled

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