2024-10-17 15:04 UTC+0200 Aleksander Czajczynski (hb fki.pl)

* .github/workflows/windows-ci.yml
    * update windows MSYS2 integration runner set of
      requested packages. PGSQL, Firebird and MariaDB libs
      are no longer available in the 32-bit environment

    + add clang x86_64 compiler for testing under this CI

  * include/harbour.hbx
  * include/hbapi.h
  * src/common/hbver.c
  * src/harbour.def
  * src/rtl/version.c
    ! fixed Windows 11 detection, by vendor likings it has
      NT Kernel Version stamped with 10.0, so now Build Number
      is more significant as a recognition factor.

    + new C helper functions hb_winisbuild(), hb_iswin11()

    + added PRG function hb_osIsWin11()

    * also try to detect new Windows Server versions

  * config/win/clang.mk
  * utils/hbmk2/hbmk2.prg
  * ChangeLog.txt
    ! recursion happening in the Makefiles rendered recently
      introduced compatibility option unreliable. Changed to
      use separate variable: HB_USER_FIXES=--mingw-script
      You don't need it, the problem shouldn't exist, but
      anyway...
This commit is contained in:
Aleksander Czajczynski
2024-10-17 15:04:53 +02:00
parent 60a10666f4
commit c88029eee9
9 changed files with 176 additions and 15 deletions

View File

@@ -88,14 +88,14 @@ endif
TMPSPEC := @__dyn__.tmp
# setting HB_USER_DFLAGS=--mingw-script[...]
# setting HB_USER_FIXES=--mingw-script[...]
# may help to workaround if old clang + MinGW linker is in use,
# build may fail either with too long command line or unrecognized argument
ifneq ($(filter --mingw-script, $(HB_USER_DFLAGS)),)
HB_USER_DFLAGS := $(subst --mingw-script,,$(HB_USER_DFLAGS))
ifneq ($(filter --mingw-script, $(HB_USER_FIXES)),)
# NOTE: The empty line directly before 'endef' HAS TO exist!
override define dynlib_object
@$(ECHO) $(ECHOQUOTE)INPUT($(subst \,/,$(file)))$(ECHOQUOTE) >> __dyn__.tmp
endef
TMPSPEC := __dyn__.tmp
endif