digitalmars.D.bugs - Is this normal? dmd emptyfile.d
- Tomás Rossi (13/14) Nov 11 2005 Is this the normal behavior of the compiler/linker?
- Agent Orange (2/23) Nov 11 2005
- Tomás Rossi (4/25) Nov 12 2005 I don't know, maybe not expecting a compiler error, but perhaps linker s...
- Walter Bright (5/7) Nov 13 2005 shouldn't
- Manfred Nowak (6/8) Nov 12 2005 Seems you compiled a D-program with no `main' routine and a subsystem
- Georg Wrede (4/11) Nov 18 2005 Oh, man! I don't believe my eyes. 8-(
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.dC:\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
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.dC:\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:TomIs 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.dC:\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.
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 linkershouldn'tmake 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:Oh, man! I don't believe my eyes. 8-( Bill, some day, some day, you'll give me a heart attack. ‡-| _†_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.
Nov 18 2005