Author Topic: Minor Revisions for Embarcadero x64  (Read 266 times)

Robert

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Minor Revisions for Embarcadero x64
« on: February 01, 2020, 12:32:22 AM »
Clang and Embarcadero compilers warn that only the left side of the equation in the translation of BCX 7.4.1, line 3273

Code: [Select]

IF NOT LEFT$(Z$, 6) = "static" THEN


is being checked for negation and suggest that parentheses be used, as here,

Code: [Select]

IF NOT (LEFT$(Z$, 6) = "static") THEN


I have had this fixed, for some time now, in my translators and thought that I would mention it for your consideration.

Also, in my BCX, to accomodate the 64 bit Embarcadero compilers, BCX 7.4.1 line 4293

Code: [Select]

FPRINT FP_HDR, "#if defined( __BCPLUSPLUS__ )"


has been changed to

Code: [Select]

FPRINT FP_HDR, "#if defined( __BCPLUSPLUS__ ) && !defined( _WIN64 )"


and line 5795

Code: [Select]

     FPRINT FP_HDR, "#if !defined( __LCC__ )"


changed to

Code: [Select]

    FPRINT FP_HDR, "#if !(defined( __BCPLUSPLUS__ ) && defined( _WIN64 ))"
    FPRINT FP_HDR, "#if !defined( __LCC__ )"


and line 5821

Code: [Select]

    FPRINT FP_HDR, "#endif"

   
changed to

Code: [Select]

    FPRINT FP_HDR, "#endif"
    FPRINT FP_HDR, "#endif"


If you decide to add these changes, work from the bottom up to keep the lines in sync.

It's no big deal but I thought I would mention it.

MrBcx

  • Administrator
  • Hero Member
  • *****
  • Posts: 531
    • View Profile
Re: Minor Revisions for Embarcadero x64
« Reply #1 on: February 01, 2020, 08:39:59 AM »
Thanks for those changes Robert ... I've started 7.4.2 and have applied your updates.