2025-01-21 06:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* .github/workflows/windows-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar

  * contrib/3rd/sqlite3/sqlite3.hbp
    * set -Wno-error=stringop-overread C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'

  * contrib/hbzebra/hbzebra.hbp
    * set -Wno-error=array-bounds C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'
This commit is contained in:
Przemysław Czerpak
2025-01-21 06:45:38 +01:00
parent b33cb05de5
commit f4ea383593
4 changed files with 22 additions and 2 deletions

View File

@@ -113,15 +113,16 @@ jobs:
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(mingw64) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations -Wno-error=array-bounds" ;;
(mingw64) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(bcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -w!" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
esac
tee -a ./.bashrc <<EOENV
# These contribs do not build on any platform
export HB_BUILD_CONTRIBS="no hbfimage" # incompatible with freeimage 3.18+
export HB_BUILD_TEST="${{matrix.strictness}}"
export HB_BUILD_VERBOSE="yes"
export HBMK_WITH_SQLITE3="local"
export HB_USER_CFLAGS="$HB_USER_CFLAGS"

View File

@@ -7,6 +7,19 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2025-01-21 06:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/windows-ci.yml
* disabled global -Wno-error=... C compiler parameters
* set HB_BUILD_TEST="${{matrix.strictness}}" envvar
* contrib/3rd/sqlite3/sqlite3.hbp
* set -Wno-error=stringop-overread C compiler parameter for GCC builds
when HB_BUILD_TEST='strict'
* contrib/hbzebra/hbzebra.hbp
* set -Wno-error=array-bounds C compiler parameter for GCC builds
when HB_BUILD_TEST='strict'
2025-01-21 01:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbapigt.h
! removed dummy declaration for hb_inkeyExit()

View File

@@ -42,6 +42,9 @@
# mingw 4.5.0/4.5.1 revisions fail compiling in iso90 mode. It's fixed in 4.5.2.
-c=gnu90{allgcc&HB_COMP_VER='45'}
# GCC 14 reports strlen reading 1 or more bytes from a region of size 0 warning
-cflag=-Wno-error=stringop-overread{allgcc&HB_BUILD_TEST='strict'}
sqlite3.c
# ORIGIN http://www.sqlite.org/

View File

@@ -23,3 +23,6 @@ msi.c
pdf417.c
datamtrx.c
qrcode.c
# GCC 13, 14 reports false warnings about array bounds for static constant data
-cflag=-Wno-error=array-bounds{allgcc&HB_BUILD_TEST='strict'}