dmd git master version

Steven Schveighoffer schveiguy at gmail.com
Thu Oct 13 14:51:25 UTC 2022


On 10/13/22 12:16 AM, H. S. Teoh wrote:
> It's not so much the usage of git tags for release versioning that I
> find odd.  It's the fact that dmd 2.100.2 insists that it's 2.098, sets
> `__VERSION__` to 2098L, and believes that it's 2.098, yet the state of
> code is clearly already 2.100.2 and the compiler will behave like a
> 2.100.2 compiler.

The build should double check the VERSION file against the tag, and give 
an error when it doesn't match.

-Steve


More information about the Digitalmars-d mailing list