Hi,
Currently,
$ gdc-12 --version
gdc-12 (Ubuntu 12.1.0-2ubuntu1~22.04) 12.1.0
$ gdc-12 -dumpversion
12
this is not very informative, as D (DMD) language is always changing, Can gdc --version or -dumpversion output the corresponding DMD front-end (language) version?
just as LDC does:
$ ldc2 --version
LDC - the LLVM D compiler (1.32.2):
based on DMD v2.102.2 and LLVM 15.0.7