In/out contract inheritance in gdc

Iain Buclaw ibuclaw at ubuntu.com
Tue Apr 17 13:56:37 PDT 2012


On 14 April 2012 02:17, Joseph Rushton Wakeling
<joseph.wakeling at webdrake.net> wrote:
> On 14/04/12 02:11, Leandro Lucarella wrote:
>>
>> Doesn't look exactly like the same problem, but just in case, you might
>> want to take a look at this bug:
>> http://d.puremagic.com/issues/show_bug.cgi?id=7699
>
>
> Hmmm.  Compiling still fails when -inline is removed from the compiler
> statement, but now there are _two_ errors reported:
>
> gdc -oftest sampled.d
>
> sampled.d:87: Error: function
> sampled.SamplingAlgorithmSkip!(MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)).SamplingAlgorithmSkip.select
> cannot get frame pointer to __require
> sampled.d:50: Error: function
> sampled.SamplingAlgorithmS!(MersenneTwisterEngine!(uint,32,624,397,31,-1727483681u,11,7,-1658038656u,15,-272236544u,18)).SamplingAlgorithmS.select
> cannot get frame pointer to __require

I can't reproduce this or the bug in puremagic on my build, so I will
go on the assumption this will be fixed in the 4.7.0 package due to
ship with Ubuntu at the end of the month.


Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the D.gnu mailing list