[dmd-internals] Can't compile DMD1
Walter Bright
walter at digitalmars.com
Fri Apr 8 17:47:41 PDT 2011
Seems I forgot to push a file. Fixed.
On 4/8/2011 12:35 AM, Don Clugston wrote:
> Some D2 no-throw stuff has been put into D1.
>
> \dm\bin\dmc -c -Iroot;\dm\include -D -g -DUNITTEST -cpp -D_DH func
> int offend = fbody ? fbody->blockExit()& BEfallthru : TRUE;
> ^
> func.c(1099) : Error: 1 actual arguments expected for function, had 0
>
> I think this should just be fbody->blockExit(false);
>
> int blockExit(bool mustNotThrow);
>
> It's always OK to throw in D1.
>
> -----------
>
> The offending commit:
>
> commit 0a6c91f1524cb5230466d326f7ff3aabcf618230
> Author: Walter Bright<walter at walterbright.com>
> Date: Sun Mar 6 15:20:58 2011 -0800
>
> harmonize with D2
>
More information about the dmd-internals
mailing list