Skip to content

Commit

Permalink
2023-12-07 21:00 UTC+0100 Phil Krylov (phil a t krylov.eu)
Browse files Browse the repository at this point in the history
  * config/win/bcc.mk
  * utils/hbmk2/hbmk2.prg
    ! Fixed Borland C 32-bit compiler warning flags.
  • Loading branch information
tuffnatty committed Dec 8, 2023
1 parent 7e7ca1d commit 8220d09
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */

2023-12-07 21:00 UTC+0100 Phil Krylov (phil a t krylov.eu)
* config/win/bcc.mk
* utils/hbmk2/hbmk2.prg
! Fixed Borland C 32-bit compiler warning flags.

2023-12-07 20:00 UTC+0100 Phil Krylov (phil a t krylov.eu)
* .github/workflows/linux-ci.yml
! Linux CI build fix (outdated packages).
Expand Down
4 changes: 2 additions & 2 deletions config/win/bcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ CFLAGS += -I. -I$(HB_HOST_INC)
CFLAGS += -q -tWM -CP437

ifeq ($(HB_BUILD_WARN),no)
CFLAGS += -w-sig- -w-aus- -w-ccc- -w-csu- -w-par- -w-rch- -w-ucp- -w-use- -w-prc- -w-pia-
CFLAGS += -w-aus -w-ccc -w-csu -w-ovf -w-par -w-rch -w-spa
else
CFLAGS += -w -Q -w-sig-
CFLAGS += -w -Q -w-sig
endif

ifneq ($(HB_BUILD_OPTIM),no)
Expand Down
5 changes: 3 additions & 2 deletions utils/hbmk2/hbmk2.prg
Original file line number Diff line number Diff line change
Expand Up @@ -5048,8 +5048,9 @@ STATIC FUNCTION __hbmk( aArgs, nArgTarget, nLevel, /* @ */ lPause, /* @ */ lExit
ENDIF
SWITCH hbmk[ _HBMK_nWARN ]
CASE _WARN_MAX ; AAdd( hbmk[ _HBMK_aOPTC ], "-w -Q" ) ; EXIT
CASE _WARN_YES ; AAdd( hbmk[ _HBMK_aOPTC ], "-w -Q -w-sig-" ) ; EXIT
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-w-sig- -w-aus- -w-ccc- -w-csu- -w-par- -w-rch- -w-ucp- -w-use- -w-prc- -w-pia-" ) ; EXIT
CASE _WARN_YES ; AAdd( hbmk[ _HBMK_aOPTC ], "-w -Q -w-sig" ) ; EXIT
// The following line differs from the line in config/win/bcc.mk because Make needs to build core, and hbmk2 needs to build contrib
CASE _WARN_LOW ; AAdd( hbmk[ _HBMK_aOPTC ], "-w-sig -w-aus -w-ccc -w-csu -w-ovf -w-par -w-rch -w-spa -w-sus -w-pia" ) ; EXIT
CASE _WARN_NO ; AAdd( hbmk[ _HBMK_aOPTC ], "-w-" ) ; EXIT
ENDSWITCH
cOpt_CompC += " {FC} {LC}"
Expand Down

0 comments on commit 8220d09

Please sign in to comment.