Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
October 10, 2003 What "version()"s are on by default? (On a Win32 dmd.exe) | ||||
---|---|---|---|---|
| ||||
October 10, 2003 Re: What "version()"s are on by default? (On a Win32 dmd.exe) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | "Matthew Wilson" <matthew@stlsoft.org> wrote in message news:bm5nme$2ks0$1@digitaldaemon.com... > > See www.digitalmars.com/d/version.html For dmd.exe, looking at the mars.c source: // Predefine version identifiers VersionCondition::addIdent("DigitalMars"); #if _WIN32 VersionCondition::addIdent("Win32"); #endif /* _WIN32 */ #if linux VersionCondition::addIdent("linux"); #endif /* linux */ VersionCondition::addIdent("X86"); VersionCondition::addIdent("LittleEndian"); VersionCondition::addIdent("D_InlineAsm"); |
October 10, 2003 Re: What "version()"s are on by default? (On a Win32 dmd.exe) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | There should just be a "-showversion" option on dmd.exe, as in ">dmd -showversion Defined versions: DigitalMars Win32 X86 LittleEndian D_InlineAsm " No-one should have to look at compiler source code! "Walter" <walter@digitalmars.com> wrote in message news:bm6rn3$12ud$2@digitaldaemon.com... > > "Matthew Wilson" <matthew@stlsoft.org> wrote in message news:bm5nme$2ks0$1@digitaldaemon.com... > > > > > > See www.digitalmars.com/d/version.html > > For dmd.exe, looking at the mars.c source: > > // Predefine version identifiers > VersionCondition::addIdent("DigitalMars"); > #if _WIN32 > VersionCondition::addIdent("Win32"); > #endif /* _WIN32 */ > #if linux > VersionCondition::addIdent("linux"); > #endif /* linux */ > VersionCondition::addIdent("X86"); > VersionCondition::addIdent("LittleEndian"); > VersionCondition::addIdent("D_InlineAsm"); > > |
October 11, 2003 Re: What "version()"s are on by default? (On a Win32 dmd.exe) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | "Matthew Wilson" <matthew@stlsoft.org> wrote in message news:bm736o$1cle$1@digitaldaemon.com... > No-one should have to look at compiler source code! "Use the Source, Luke." |
October 11, 2003 Re: What "version()"s are on by default? (On a Win32 dmd.exe) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Nonsense. Let's have it listed by DMD. And while you're at it, I thought we were going to get readable argument mismatch errors in a listed columnar format? And while you're at it, can you call at the pizza shop and get me a ... "Walter" <walter@digitalmars.com> wrote in message news:bm9ppm$21u7$1@digitaldaemon.com... > > "Matthew Wilson" <matthew@stlsoft.org> wrote in message news:bm736o$1cle$1@digitaldaemon.com... > > No-one should have to look at compiler source code! > > "Use the Source, Luke." > > |
Copyright © 1999-2021 by the D Language Foundation