The errors I got were:
Code: Select all
\CodeGear.Cpp.Targets(3044,5): error E790: current translation unit is compiled with the target feature '-fsanitize=address' but the AST file was not
\CodeGear.Cpp.Targets(3044,5): error E790: current translation unit is compiled with the target feature '+sse4.2' but the AST file was not
When not using TwineCompile, bcc64x.exe gets these options:
With "BCC_InstructionSet_v15":
Code: Select all
-target-feature +sse4.2
Code: Select all
-fsanitize=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound,vptr
-fsanitize-recover=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,vla-bound,vptr
Code: Select all
-fsanitize=address
-fsanitize-address-use-after-scope
-fsanitize-address-globals-dead-stripping
-fno-assume-sane-operator-new
Code: Select all
-target-feature +sse4.2
-fsanitize=address,alignment,array-bounds,bool,builtin,enum,float-cast-overflow,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,return,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,unreachable,vla-bound,vptr
-fsanitize-recover=alignment,array-bounds,bool,builtin,enum,float-cast-overflow,integer-divide-by-zero,nonnull-attribute,null,pointer-overflow,returns-nonnull-attribute,shift-base,shift-exponent,signed-integer-overflow,vla-bound,vptr
-fsanitize-address-use-after-scope
-fsanitize-address-globals-dead-stripping
-fno-assume-sane-operator-new