DDS-XTypes 1.4b1 RTF Avatar
  1. OMG Issue

DDSXTY14 — Ambiguous effect of using annotations on attributes with multiple declarators.

  • Key: DDSXTY14-37
  • Status: closed  
  • Source: ZettaScale Technology ( Mr. Erik Hendriks)
  • Summary:

    It is possible to put an annotation on an attribute with multiple declarators, like this:

    struct Foo {
      @key long x, y;
    };
    

    What is the effect of this? Does the annotation apply to both declarators? In that case, how do you interpret the following:

    struct Foo {
      @fieldid(0x01000) long x, y;
    };
    
  • Reported: DDS-XTypes 1.3b1 — Wed, 30 Sep 2020 14:49 GMT
  • Disposition: Resolved — DDS-XTypes 1.4b1
  • Disposition Summary:

    Clarify how applied annotations are handled for multiple declarator

    Specify that they either apply to all or result in an error.

  • Updated: Wed, 12 Aug 2026 16:39 GMT