Uploaded image for project: 'netX Transport Toolkit'
  1. netX Transport Toolkit
  2. NXTTKIT-52

netxtransport communication may fail on 64-bit systems

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1.3.0.0
    • Fix Version/s: V1.4.0.0
    • Component/s: Toolkit Source
    • Labels:
      None
    • Account:
      SDO Transport, Diagnostic (SDOTRANSPO)

      Description

      Removing the compiler flag (-m32) may break the communication on 64-bit systems.

      The netxtransport error definitions (see netXTransport_Errors.h) misses the cast to an int32_t. Otherwise simple comparison will fail.

      Workaround:

      Add int32_t cast for every error definition.

      e.g. change

      #define NXT_NO_ERROR                          (0x00000000L)

      to

      #define NXT_NO_ERROR                          (int32_t)(0x00000000L)

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  SDoell Sebastian Döll
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: