www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Dirty DMD

reply JN <666total wp.pl> writes:
Latest DMD for Windows downloaded from here: 
https://downloads.dlang.org/releases/2.x/2.105.3/dmd-2.105.3.exe 
reports version as dirty:

DMD64 D Compiler v2.105.3-dirty
Copyright (C) 1999-2023 by The D Language Foundation, All Rights 
Reserved written by Walter Bright

what does it mean by dirty?
Nov 18 2023
next sibling parent FeepingCreature <feepingcreature gmail.com> writes:
On Saturday, 18 November 2023 at 18:52:07 UTC, JN wrote:
 Latest DMD for Windows downloaded from here: 
 https://downloads.dlang.org/releases/2.x/2.105.3/dmd-2.105.3.exe reports
version as dirty:

 DMD64 D Compiler v2.105.3-dirty
 Copyright (C) 1999-2023 by The D Language Foundation, All 
 Rights Reserved written by Walter Bright

 what does it mean by dirty?
Oops. It means whoever built it had uncommitted changes in their version of the code. It's probably harmless though - somebody trying to smuggle in changes could just disable that annotation.
Nov 18 2023
prev sibling parent Steven Schveighoffer <schveiguy gmail.com> writes:
On Saturday, 18 November 2023 at 18:52:07 UTC, JN wrote:
 Latest DMD for Windows downloaded from here: 
 https://downloads.dlang.org/releases/2.x/2.105.3/dmd-2.105.3.exe reports
version as dirty:

 DMD64 D Compiler v2.105.3-dirty
 Copyright (C) 1999-2023 by The D Language Foundation, All 
 Rights Reserved written by Walter Bright

 what does it mean by dirty?
Something in the build process changes a file and therefore the thing that checks the version marks it as dirty. It’s perfectly fine, this is the official release. It’s a bit embarrassing to be honest. The windows binaries have been reporting dirty for years and nobody cares to fix it. -Steve
Nov 18 2023