std.loader broken on linux?
Johan Granberg
lijat.meREM at OVE.gmail.com
Mon Jan 15 07:51:09 PST 2007
Johan Granberg wrote:
> Stewart Gordon wrote:
>
>> Johan Granberg wrote:
>>> Johan Granberg wrote:
>>>
>>>> bud -inline -release -O -full -odbin -silent -lib -allobj
>>>> sylph/core/core.d /usr/lib/dmd/src/phobos/std/loader.d(358): Error:
>>>> shadowing declaration std.loader.ExeModule_Load_.mi is deprecated
>>>> /usr/lib/dmd/src/phobos/std/loader.d(419): Error: delete aa[key]
>>>> deprecated, use aa.remove(key)
>>>>
>>>> Is anyone else getting these errors? To me it looks like the std loader
>>>> module hasn't been updated correctly. (dmd version 1.0)
>>>
>>> When I changed loader.d to correct these errors I got this error.
>>>
>>> bud -inline -release -O -full -odbin -silent -lib -allobj
>>> sylph/core/core.d Internal error: toir.c 182
>>
>> Do you get the same error if you try compiling the deprecated version
>> with -d?
>>
>> Stewart.
>
> yes
>
> bud -d -inline -release -O -full -odbin -silent -lib -allobj
> sylph/core/core.d
> Internal error: toir.c 182
reduced test case:
johan at Cyclop:~/Desktop/sylph$ cat test.d
module test;
import st.stackcontext;
class Test{
StackContext context;
private void init(char[][] argvs){
context=new StackContext({});
}
this(char[][] argvs){
init(argvs);
}
}
void main(char[][] args){
new Test(args);
}
johan at Cyclop:~/Desktop/sylph$ dmd -inline test.d
Internal error: toir.c 182
johan at Cyclop:~/Desktop/sylph$
More information about the Digitalmars-d-bugs
mailing list