digitalmars.D.bugs - Is this normal? dmd emptyfile.d
- Tomás Rossi <Tomás_member pathlink.com> Nov 11 2005
- Agent Orange <no spam.com> Nov 11 2005
- Tomás Rossi <Tomás_member pathlink.com> Nov 12 2005
- "Walter Bright" <newshound digitalmars.com> Nov 13 2005
- Manfred Nowak <svv1999 hotmail.com> Nov 12 2005
- Georg Wrede <georg.wrede nospam.org> Nov 18 2005
Is this the normal behavior of the compiler/linker? With dmd 0.139 for Win32 and an empty file named 'test.d': OS: Windows XP SP2dmd test.d
OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address The compiler/linker generates then 'test.exe' that when run creates a error message box with a description like "Error 16bit subsystem... blablabla". This occured just the first time (that's why I can't reproduce the specific error text), then the error never shows again no matter if I run again a cmd or not. Tom
Nov 11 2005
I dunno, but what were you expecting? Tomás Rossi wrote:Is this the normal behavior of the compiler/linker? With dmd 0.139 for Win32 and an empty file named 'test.d': OS: Windows XP SP2dmd test.d
C:\d\dmd\bin\..\..\dm\bin\link.exe test,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address The compiler/linker generates then 'test.exe' that when run creates a error message box with a description like "Error 16bit subsystem... blablabla". This occured just the first time (that's why I can't reproduce the specific error text), then the error never shows again no matter if I run again a cmd or not. Tom
Nov 11 2005
In article <dl3sbl$1su8$1 digitaldaemon.com>, Agent Orange says...I dunno, but what were you expecting?
I don't know, maybe not expecting a compiler error, but perhaps linker shouldn't make an executable with no main procedure.Tomás Rossi wrote:Is this the normal behavior of the compiler/linker? With dmd 0.139 for Win32 and an empty file named 'test.d': OS: Windows XP SP2dmd test.d
C:\d\dmd\bin\..\..\dm\bin\link.exe test,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address The compiler/linker generates then 'test.exe' that when run creates a error message box with a description like "Error 16bit subsystem... blablabla". This occured just the first time (that's why I can't reproduce the specific error text), then the error never shows again no matter if I run again a cmd or not.
Tom
Nov 12 2005
"Tomás Rossi" <Tomás_member pathlink.com> wrote in message news:dl4jls$2k0f$1 digitaldaemon.com...I don't know, maybe not expecting a compiler error, but perhaps linker
make an executable with no main procedure.
There are valid reasons to do that, such as building some types of specialized binary drivers.
Nov 13 2005
Tomás Rossi wrote: [...]then the error never shows again no matter if I run again a cmd or not.
Seems you compiled a D-program with no `main' routine and a subsystem of your XP-installation was faulty and automagically fixed by XP's repair mechanisms. -manfred
Nov 12 2005
Manfred Nowak wrote:Tomás Rossi wrote:then the error never shows again no matter if I run again a cmd or not.
Seems you compiled a D-program with no `main' routine and a subsystem of your XP-installation was faulty and automagically fixed by XP's repair mechanisms.
Oh, man! I don't believe my eyes. 8-( Bill, some day, some day, you'll give me a heart attack. ‡-| _†_
Nov 18 2005









"Walter Bright" <newshound digitalmars.com> 