Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
January 12, 2007 std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
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) |
January 12, 2007 Re: std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | 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
|
January 13, 2007 Re: std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | 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.
|
January 13, 2007 Re: std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stewart Gordon | 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
|
January 15, 2007 Re: std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | 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@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@Cyclop:~/Desktop/sylph$ dmd -inline test.d
Internal error: toir.c 182
johan@Cyclop:~/Desktop/sylph$
|
January 17, 2007 Re: std.loader broken on linux? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Johan Granberg | Johan Granberg wrote:
> johan@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@Cyclop:~/Desktop/sylph$ dmd -inline test.d
> Internal error: toir.c 182
> johan@Cyclop:~/Desktop/sylph$
Submitted to bugzilla
Issue#: 853
|
Copyright © 1999-2021 by the D Language Foundation