CORBA 2.3 NO IDEA Avatar
  1. OMG Issue

CORBA23 — another problem with IDL specification section 3.9.2

  • Key: CORBA23-64
  • Legacy Issue Number: 2436
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: The spec doesn"t say how octal and hex integral constants are treated.
    For instance, is the following line legal IDL or not:

    const short s = 0xFFFF; // Valid???

    If the interpretation of "0xFFFF" in this context is "65535", then
    this is illegal, since the value is out of range. If the interpretation
    is "-32768", then this assignment is valid. The wording in this section specifies that
    each operand is converted immediately to the size of the eventual
    storage location, but fails to specify how that conversion is to be
    performed for hexadecimal and octal literals.

  • Reported: CORBA 2.2 — Thu, 4 Feb 1999 05:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:

    closed issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT