IDL4-CPP 1.0b2 FTF Avatar
  1. OMG Issue

IDL4CPP — long in C++ code

  • Key: IDL4CPP-33
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    In the example code there is "using Length = long;", but long is not portable, shouldn't be this be int32_t?

  • Reported: IDL4-CPP 1.0b1 — Tue, 16 Jan 2024 09:46 GMT
  • Disposition: Resolved — IDL4-CPP 1.0b2
  • Disposition Summary:

    Replace use of C++ long in example code with int32_t

    IDL longs are mapped to C++ int32_t, the example in clause 7.2.4.6 makes the mistake of mapping a typedef long to a using of long instead of int32_t.

  • Updated: Mon, 16 Sep 2024 14:15 GMT