Re: "Scheduled" for deprecation keyword

2012-08-01 Thread David
Am 01.08.2012 17:40, schrieb monarch_dodra: I know of the "deprecate" keyword, but I was wondering: Is there a "scheduledDeprecated" keyword? While I know you can still force-compile with deprecated feature, that isn't exactly the same thing. I'm talking about stuff that is NOT YET deprecated,

Re: "Scheduled" for deprecation keyword

2012-08-01 Thread Jonathan M Davis
On Wednesday, August 01, 2012 17:40:41 monarch_dodra wrote: > I know of the "deprecate" keyword, but I was wondering: Is there > a "scheduledDeprecated" keyword? > > While I know you can still force-compile with deprecated feature, > that isn't exactly the same thing. > > I'm talking about stuff

"Scheduled" for deprecation keyword

2012-08-01 Thread monarch_dodra
I know of the "deprecate" keyword, but I was wondering: Is there a "scheduledDeprecated" keyword? While I know you can still force-compile with deprecated feature, that isn't exactly the same thing. I'm talking about stuff that is NOT YET deprecated, but soon will be. I want to know about th

Re: SCHEDULED for deprecation

2009-05-10 Thread Christopher Wright
Tomasz Sowiński wrote: This phrase gave me an idea for a small feat: deprecated(2009-4-19) void foo(); Compiling references to the deprecated declaration *before* the deprecation date would result in a *warning*. Compiling the deprecated declaration OR any reference to it *after* the date wou

Re: SCHEDULED for deprecation

2009-05-09 Thread Tomasz Sowiñski
Georg Wrede Wrote: > Yes. It's a matter of principle, that a compiler should behave the same, > no matter what the wall clock says. (Commercial beta versions excluded, > which totally stop working at a fixed date, but that's different.) > > What could be useful is a switch --show-deprecated tha

Re: SCHEDULED for deprecation

2009-05-09 Thread Tomasz Sowiñski
Nick Sabalausky Wrote: > ; "ski" wrote > in message news:gtv3u0$2q0...@digitalmars.com... > > This phrase gave me an idea for a small feat: > > > > deprecated(2009-4-19) void foo(); > > > > Compiling references to the deprecated declaration *before* the > > deprecation date would result in a *w

Re: SCHEDULED for deprecation

2009-05-08 Thread Jesse Phillips
On Thu, 07 May 2009 12:57:36 -0400, Tomasz Sowiński wrote: > This phrase gave me an idea for a small feat: > > deprecated(2009-4-19) void foo(); > > Compiling references to the deprecated declaration *before* the > deprecation date would result in a *warning*. Compiling the deprecated > declarat

Re: SCHEDULED for deprecation

2009-05-07 Thread Georg Wrede
Nick Sabalausky wrote: ; "ski" wrote in message news:gtv3u0$2q0...@digitalmars.com... This phrase gave me an idea for a small feat: deprecated(2009-4-19) void foo(); Compiling references to the deprecated declaration *before* the deprecation date would result in a *warning*. Compiling the de

Re: SCHEDULED for deprecation

2009-05-07 Thread Nick Sabalausky
; "ski" wrote in message news:gtv3u0$2q0...@digitalmars.com... > This phrase gave me an idea for a small feat: > > deprecated(2009-4-19) void foo(); > > Compiling references to the deprecated declaration *before* the > deprecation date would result in a *warning*. > Compiling the deprecated decl

Re: SCHEDULED for deprecation

2009-05-07 Thread Denis Koroskin
On Thu, 07 May 2009 20:57:36 +0400, Tomasz wrote: > This phrase gave me an idea for a small feat: > > deprecated(2009-4-19) void foo(); > > Compiling references to the deprecated declaration *before* the > deprecation date would result in a *warning*. > Compiling the deprecated declaration OR a

SCHEDULED for deprecation

2009-05-07 Thread Tomasz Sowiński
This phrase gave me an idea for a small feat: deprecated(2009-4-19) void foo(); Compiling references to the deprecated declaration *before* the deprecation date would result in a *warning*. Compiling the deprecated declaration OR any reference to it *after* the date would result in an *error*.