On 29/11/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
>
> I read in a message thread from 2005 that when you use Corba style
> interfaces, interfaces are also not allowed to inherit from each
> other.  Is this correct?

If that is supposed to be true, then we have a problem in FPC 2.2.0
I've just written the following and compiled the unit without any
compiler errors.

{$Interfaces Corba}

type
  IntfA = Interface
    function MyFunctionA: integer;
  end;

  IntfB = Interface(IntfA)
    function MyFunctionB: String;
  end;



Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to