comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: No "pragma Deprecated (NAME)"?
Date: Wed, 20 Jan 2010 20:57:55 -0700
Date: 2010-01-20T20:57:55-07:00	[thread overview]
Message-ID: <hj8jps$1tb$1@tornado.tornevall.net> (raw)
In-Reply-To: <bf6026c7-23df-4390-b3df-b2fa1cd0d1cb@36g2000yqu.googlegroups.com>

Michael R wrote:
> 
>    function Name (T : My_Type) return String;
>    function To_String (T : My_Type) return String
>       renames Name;
>    pragma Deprecated (To_String);

"Deprecated" is not a language-defined pragma, but unrecognized pragmas should 
be ignored (ARM 2.8). I see nothing wrong with your function renaming. What 
error message did you get?

-- 
Jeff Carter
"Every sperm is sacred."
Monty Python's the Meaning of Life
55



  reply	other threads:[~2010-01-21  3:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-21  3:47 No "pragma Deprecated (NAME)"? Michael R
2010-01-21  3:57 ` Jeffrey R. Carter [this message]
2010-01-21  4:00   ` Michael R
2010-01-21  9:30     ` Ludovic Brenta
replies disabled

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