https://issues.dlang.org/show_bug.cgi?id=24493
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <[email protected]> --- dlang/dmd pull request #16368 "Fix bugzilla issue 24493: FreeBSD_14 version identifier missing" was merged into master: - b7b6a11a08a63ec5cbf42ad73411b69e712c39f4 by Jonathan M Davis: Fix bugzilla issue 24493: FreeBSD_14 version identifier missing Apparently, there were two problems that needed fixing. 1. The code for the FreeBSD_14 version identifier had not been added yet. 2. The build did nothing to detect the version of FreeBSD, which makes it very easy to build for the wrong version. The CI apparently sets the version - e.g. TARGET_FREEBSD13 - but unless one of those TARGET_FREEBSD* versions is set, the build defaults to FreeBSD 11, which isn't even supported any longer. So, this adds the code for the FreeBSD_14 identifier, and it makes it so that the build queries the OS version on FreeBSD if TARGET_FREEBSD* has not been set. So, anything that sets the TARGET_FREEBSD* version when building will control the target version as before, but if it's not set, then it will target whatever the current system is. https://github.com/dlang/dmd/pull/16368 --
