D - D compiler v32
- Walter (4/4) May 16 2002 ftp://ftp.digitalmars.com/dmdalpha.zip
- Carlos (4/5) May 16 2002 the linker isn't working properly. i get this:
- Walter (3/8) May 16 2002 What's the file hello.d look like and the command you used?
- Carlos (18/26) May 17 2002 The file is attached.
- Walter (3/27) May 17 2002 I don't get it. It works when I try it. Try sending me the hello.obj fil...
- Alix Pexton (7/21) May 27 2002 I had the same problem at first, it worked after I changed my path
- Patrick Down (4/11) May 17 2002 Walter are you going to make dmd pick up the environment from
- Walter (3/5) May 17 2002 You're right, I should make that work.
- Patrick Down (26/26) May 21 2002 The following program generates...
- Pavel Minayev (4/11) May 22 2002 I'm not sure... C++ doesn't, AFAIK. Member functions
- Walter (5/28) May 22 2002 I chose the path that if it's ambiguous at all, generate an error. I thi...
ftp://ftp.digitalmars.com/dmdalpha.zip o Fixes numerous problems with bit arrays and arrays in general. o Now will inline functions with the -inline switch. o DMD will now do the link for you, no need to use SC.
May 16 2002
o DMD will now do the link for you, no need to use SC.the linker isn't working properly. i get this: HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B7 Record type: BC --- errorlevel 2
May 16 2002
"Carlos" <carlos8294 msn.com> wrote in message news:ac1dsh$218$1 digitaldaemon.com...What's the file hello.d look like and the command you used?o DMD will now do the link for you, no need to use SC.the linker isn't working properly. i get this: HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B7 Record type: BC --- errorlevel 2
May 16 2002
"Walter" <walter digitalmars.com> escribió en el mensaje news:ac215m$h4b$1 digitaldaemon.com..."Carlos" <carlos8294 msn.com> wrote in message news:ac1dsh$218$1 digitaldaemon.com...The file is attached. The command line was: c:\dmd>bin\dmd hello -I\dmd\src\phobos The complete results were: link hello,,,user32+kernel32/noi; Microsoft (R) Overlay Linker Version 3.69 Copyright (C) Microsoft Corp 1983-1988. All rights reserved. HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B6 Record type: BC --- errorlevel 2 But if I use the -c option and then use sc, it works fine. begin 666 hello.d ` endWhat's the file hello.d look like and the command you used?o DMD will now do the link for you, no need to use SC.the linker isn't working properly. i get this: HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B7 Record type: BC --- errorlevel 2
May 17 2002
I don't get it. It works when I try it. Try sending me the hello.obj file. "Carlos" <carlos8294 msn.com> wrote in message news:ac4g1u$2lse$1 digitaldaemon.com..."Walter" <walter digitalmars.com> escribió en el mensaje news:ac215m$h4b$1 digitaldaemon.com..."Carlos" <carlos8294 msn.com> wrote in message news:ac1dsh$218$1 digitaldaemon.com...The file is attached. The command line was: c:\dmd>bin\dmd hello -I\dmd\src\phobos The complete results were: link hello,,,user32+kernel32/noi; Microsoft (R) Overlay Linker Version 3.69 Copyright (C) Microsoft Corp 1983-1988. All rights reserved. HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B6 Record type: BC --- errorlevel 2 But if I use the -c option and then use sc, it works fine.What's the file hello.d look like and the command you used?o DMD will now do the link for you, no need to use SC.the linker isn't working properly. i get this: HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B7 Record type: BC --- errorlevel 2
May 17 2002
I had the same problem at first, it worked after I changed my path environment variable so that DM\BIN came before Visual Studio. At least that all I remember changing... Alix Pexton [prolific writer, web advocate and confused too]... "Without Hollywood [LA] would be a mail-order city, everything in the catalogue you could get better somewhere else" Philip Marlowe in "THE LITTLE SISTER" by Raymond Chandler...The command line was: c:\dmd>bin\dmd hello -I\dmd\src\phobos The complete results were: link hello,,,user32+kernel32/noi; Microsoft (R) Overlay Linker Version 3.69 Copyright (C) Microsoft Corp 1983-1988. All rights reserved. HELLO.OBJ(hello.d) : fatal error L1101: invalid object module pos: B6 Record type: BC --- errorlevel 2 But if I use the -c option and then use sc, it works fine.
May 27 2002
"Walter" <walter digitalmars.com> wrote in news:ac18or$2v84$1 digitaldaemon.com:ftp://ftp.digitalmars.com/dmdalpha.zip o Fixes numerous problems with bit arrays and arrays in general. o Now will inline functions with the -inline switch. o DMD will now do the link for you, no need to use SC.Walter are you going to make dmd pick up the environment from an ini file like sc? I like that way of handling it.
May 17 2002
"Patrick Down" <pat codemoon.com> wrote in message news:Xns9211E8DED8DF1patcodemooncom 63.105.9.61...Walter are you going to make dmd pick up the environment from an ini file like sc? I like that way of handling it.You're right, I should make that work.
May 17 2002
The following program generates... test.d(10): function toString parameters char[]() do not match argument types (uint) I took me a couple of minutes to figure out that string.toString(uint) was conflicting with Object.toString(). Should the compiler be able to resolve this correctly? import string; class Foo { uint test = 12; void Func() { char[] tmp = toString(test); printf("%.*s\n",tmp); } } int main(char[][] args) { Foo a; a.Func(); return 0; }
May 21 2002
"Patrick Down" <pat codemoon.com> wrote in message news:Xns9216B5D016E8patcodemooncom 63.105.9.61...The following program generates... test.d(10): function toString parameters char[]() do not match argument types (uint) I took me a couple of minutes to figure out that string.toString(uint) was conflicting with Object.toString(). Should the compiler be able to resolve this correctly?I'm not sure... C++ doesn't, AFAIK. Member functions override all global declarations, when conflict occurs.
May 22 2002
I chose the path that if it's ambiguous at all, generate an error. I think in the end code will be much clearer if it is disambiguated with module prefixes like string.toString(...), etc. "Patrick Down" <pat codemoon.com> wrote in message news:Xns9216B5D016E8patcodemooncom 63.105.9.61...The following program generates... test.d(10): function toString parameters char[]() do not match argument types (uint) I took me a couple of minutes to figure out that string.toString(uint) was conflicting with Object.toString(). Should the compiler be able to resolve this correctly? import string; class Foo { uint test = 12; void Func() { char[] tmp = toString(test); printf("%.*s\n",tmp); } } int main(char[][] args) { Foo a; a.Func(); return 0; }
May 22 2002