From 64c6f5a9996b6d9f96fbff6eded3e049bcb6ef91 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 25 Jul 2024 15:22:08 +0200 Subject: [PATCH] bcc64x has a different compiler flag for enabling unicode * templates/bmakecommon.mpt: --- templates/bmakecommon.mpt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/bmakecommon.mpt b/templates/bmakecommon.mpt index 98a07d4a..c308345b 100644 --- a/templates/bmakecommon.mpt +++ b/templates/bmakecommon.mpt @@ -10,7 +10,6 @@ conditional_include "common" configurations = Debug Release compilers = bcc32 bcc32c bcc64 bcc64x -unicode_flags = -WU unicode_lib_modifier = u unicode_exe_modifier = u dll_ext = .dll @@ -22,6 +21,7 @@ bcc32 { debug_flags = -v -y -Od -vi- -k release_flags = optimize_flags = -O1 +unicode_flags = -WU pdb_flags = warn_flags = -w-rvl -w-rch -w-ccc -w-obs -w-aus -w-pia -w-inl -w-mls stack_flag = /S: @@ -52,6 +52,7 @@ bcc32c { debug_flags = -Od -vi- release_flags = optimize_flags = -O3 +unicode_flags = -WU pdb_flags = warn_flags = stack_flag = /S: @@ -81,6 +82,7 @@ bcc64 { debug_flags = -g -O0 release_flags = optimize_flags = -O3 +unicode_flags = -WU pdb_flags = warn_flags = stack_flag = /S: @@ -110,6 +112,7 @@ bcc64x { debug_flags = -g -O0 release_flags = -Wno-ignored-attributes optimize_flags = -O3 +unicode_flags = -tU pdb_flags = -Xlinker -pdb -Xlinker $(OUTPUTDIR:\=/)$(NAME).pdb warn_flags = stack_flag = -Xlinker --stack=