[Issue 24493] FreeBSD_14 version identifier missing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 9 21:43:46 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24493

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@jmdavis created dlang/dmd pull request #16368 "Fix bugzilla issue 24493:
FreeBSD_14 version identifier missing" fixing this issue:

- 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

--


More information about the Digitalmars-d-bugs mailing list