Skip to content

Commit

Permalink
replace usage of warnings for deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Apr 29, 2016
1 parent ce40f54 commit b90c4e1
Showing 1 changed file with 33 additions and 37 deletions.
70 changes: 33 additions & 37 deletions deprecate.dd
Expand Up @@ -9,47 +9,45 @@ $(SPEC_S Deprecated Features,
)

$(TABLE2 Deprecated Features,
$(THEAD Feature, Spec, Warn, Dep, Error, Gone)
$(TROW $(DEPLINK delete), future,  ,  ,  ,  )
$(TROW $(DEPLINK scope for allocating classes on the stack), future,  ,  ,  ,  )
$(TROW $(DEPLINK Imaginary and complex types), future,  ,  ,  ,  )
$(TROW $(DEPLINK .sort and .reverse properties for arrays), ?, 2.067,  ,  ,  )
$(TROW $(DEPLINK C-style array pointers), ?, 2.067,  ,  ,  )
$(TROW $(DEPLINK Floating point NCEG operators), ?,  , 2.066, 2.072,  )
$(TROW $(DEPLINK clear), 2.060,  , 2.066,  , 2.068 )
$(TROW $(DEPLINK .min property for floating point types), N/A, 2.061, 2.065, 2.067, 2.072 )
$(TROW $(DEPLINK Cast T[] to integral type), ?, N/A, 2.060,  , 2.061 )
$(TROW $(DEPLINK Base Class Protection), 2.058, N/A, 2.058, 2.067, 2.072 )
$(TROW $(DEPLINK Windows 3.x and Windows 9x support), 2.058, N/A, N/A, N/A, 2.058 )
$(TROW $(DEPLINK typedef), 2.057, N/A, 2.057, 2.067, 2.072 )
$(TROW $(DEPLINK Using * to dereference arrays), ?, N/A, 2.057, 2.067, (never) )
$(TROW $(DEPLINK invariant as an alias for immutable), 2.057, N/A, 2.057, 2.064, 2.066 )
$(TROW $(DEPLINK Non-final switch statements without a default case), 2.054, N/A, 2.054, 2.068, (never) )
$(TROW $(DEPLINK Hiding base class functions), 2.054, N/A, 2.054, 2.068, (never) )
$(TROW $(DEPLINK Octal literals), 2.054, N/A, 2.053, 2.067, (never) )
$(TROW $(DEPLINK C-style function pointers), ?, N/A, 2.050, 2.067, (never) )
$(TROW $(DEPLINK Using length in index expressions), ?, N/A, 2.041,  , 2.061 )
$(TROW $(DEPLINK Escape string literals), ?, N/A, 2.026, 2.061, 2.067 )
$(TROW $(DEPLINK volatile), 2.013, N/A, 2.013, 2.067, 2.072)
$(TROW $(DEPLINK HTML source files), ?, N/A, 2.013, N/A, 2.061 )
$(TROW $(DEPLINK Overriding without override), ?, N/A, 2.004, 2.072, (never) )
$(TROW $(DEPLINK Lower case 'l' suffix for integer literals), ?, N/A, 1.054, 0.174, (never) )
$(TROW $(DEPLINK Variable shadowing inside functions), ?, N/A, 0.161,  , 2.061 )
$(TROW $(DEPLINK Upper case 'I' suffix for imaginary literals), ?, N/A, 0.154, 2.061, (never) )
$(TROW $(DEPLINK if (v; e)), ?, N/A, 0.149, 2.061, 2.068 )
$(TROW $(DEPLINK Removing an item from an associative array with delete), ?, N/A, 0.127, 2.061, 2.067 )
$(TROW $(DEPLINK .offset property), ?, N/A, 0.107, 2.061, 2.067 )
$(TROW $(DEPLINK .size property), ?, N/A, 0.107, 0.107, 2.061 )
$(TROW $(DEPLINK .typeinfo property), ?, N/A, 0.093, 2.061, 2.067 )
$(THEAD Feature, Spec, Dep, Error, Gone)
$(TROW $(DEPLINK delete), future,  ,  ,  )
$(TROW $(DEPLINK scope for allocating classes on the stack), future,  ,  ,  )
$(TROW $(DEPLINK Imaginary and complex types), future,  ,  ,  )
$(TROW $(DEPLINK .sort and .reverse properties for arrays), ?, 2.072;,  ,  )
$(TROW $(DEPLINK C-style array pointers), ?, 2.072;,  ,  )
$(TROW $(DEPLINK Floating point NCEG operators), ?, 2.066, 2.072,  )
$(TROW $(DEPLINK clear), 2.060, 2.066,  , 2.068 )
$(TROW $(DEPLINK .min property for floating point types), N/A, 2.065, 2.067, 2.072 )
$(TROW $(DEPLINK Cast T[] to integral type), ?, 2.060,  , 2.061 )
$(TROW $(DEPLINK Base Class Protection), 2.058, 2.058, 2.067, 2.072 )
$(TROW $(DEPLINK Windows 3.x and Windows 9x support), 2.058, N/A, N/A, 2.058 )
$(TROW $(DEPLINK typedef), 2.057, 2.057, 2.067, 2.072 )
$(TROW $(DEPLINK Using * to dereference arrays), ?, 2.057, 2.067, (never) )
$(TROW $(DEPLINK invariant as an alias for immutable), 2.057, 2.057, 2.064, 2.066 )
$(TROW $(DEPLINK Non-final switch statements without a default case), 2.054, 2.054, 2.068, (never) )
$(TROW $(DEPLINK Hiding base class functions), 2.054, 2.054, 2.068, (never) )
$(TROW $(DEPLINK Octal literals), 2.054, 2.053, 2.067, (never) )
$(TROW $(DEPLINK C-style function pointers), ?, 2.050, 2.067, (never) )
$(TROW $(DEPLINK Using length in index expressions), ?, 2.041,  , 2.061 )
$(TROW $(DEPLINK Escape string literals), ?, 2.026, 2.061, 2.067 )
$(TROW $(DEPLINK volatile), 2.013, 2.013, 2.067, 2.072)
$(TROW $(DEPLINK HTML source files), ?, 2.013, N/A, 2.061 )
$(TROW $(DEPLINK Overriding without override), ?, 2.004, 2.072, (never) )
$(TROW $(DEPLINK Lower case 'l' suffix for integer literals), ?, 1.054, 0.174, (never) )
$(TROW $(DEPLINK Variable shadowing inside functions), ?, 0.161,  , 2.061 )
$(TROW $(DEPLINK Upper case 'I' suffix for imaginary literals), ?, 0.154, 2.061, (never) )
$(TROW $(DEPLINK if (v; e)), ?, 0.149, 2.061, 2.068 )
$(TROW $(DEPLINK Removing an item from an associative array with delete), ?, 0.127, 2.061, 2.067 )
$(TROW $(DEPLINK .offset property), ?, 0.107, 2.061, 2.067 )
$(TROW $(DEPLINK .size property), ?, 0.107, 0.107, 2.061 )
$(TROW $(DEPLINK .typeinfo property), ?, 0.093, 2.061, 2.067 )
)

$(DL
$(DT Spec)
$(DD Removal from the Specification)
$(DT Warn)
$(DD The compiler emits a warning if the feature is used)
$(DT Dep)
$(DD The compiler issues an error if not compiled with the -d switch)
$(DD The compiler warns by default, issues an error with the -de switch, and can be silenced with the -d switch)
$(DT Error)
$(DD It is an error to use the feature)
$(DT Gone)
Expand Down Expand Up @@ -739,5 +737,3 @@ Macros:
TITLE=Deprecated Features
WIKI=DeprecatedFeatures
STDFILEREF = <a href="phobos/std_$1.html">$(D std.$1)</a>


0 comments on commit b90c4e1

Please sign in to comment.