CORBA 2.3 MAILINGLIST Avatar
  1. OMG Issue

CORBA23 — Forward declarations and inheritance

  • Key: CORBA23-182
  • Legacy Issue Number: 1145
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: The IDL spec explains forward declarations at the end of section 3.5.2.
    However, it does not make the following illegal:

    interface base; // Forward declaration

    interface derived: base

    { // Should be illegal // ... }

    ;

    interface base

    { // ... }

    ;

    The problem here is that a forward-declared interface is used as a base
    interface before the definition for that interface has been seen.
    In the absence of further words in the spec, this is legal, but clearly,
    it should be illegal (otherwise, I can"t use a single-pass compiler).

  • Reported: CORBA 2.2 — Thu, 16 Apr 1998 04:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:
  • Updated: Fri, 6 Mar 2015 21:35 GMT