Phobos - breaking existing code
Daniel Murphy via Digitalmars-d
digitalmars-d at puremagic.com
Fri Nov 28 16:19:42 PST 2014
"Walter Bright" wrote in message news:m5b2dc$1f4j$1 at digitalmars.com...
> On 11/28/2014 3:46 PM, Daniel Murphy wrote:
> > Two years is too old, you skipped all the deprecation stages.
>
> My favorite unhelpful message:
>
> src/med/spawn.d(62): Error: undefined identifier sleep, did you mean
> template slurp(Types...)(string filename, in char[] format)?
>
> Grepping around revealed that sleep() had migrated to
> core.sys.posix.unistd
I don't know the history on that one, but why did you go straight to the
latest compiler? Stepping through (some of) the last two years' releases
would quite likely have been the same experience, but with better errors
from the deprecation stages.
More information about the Digitalmars-d
mailing list