LWFT 1.0 FTF Avatar
  1. OMG Issue

LWFTF2 — LwFT IDL files do not address CORBA 3.0 compilers with no support for #include directive

  • Key: LWFTF2-2
  • Legacy Issue Number: 16245
  • Status: closed  
  • Source: THALES ( Hakim Souami)
  • Summary:

    The Lwft IDL files from mars/2009-08-02 (machine readable files) do not address CORBA 3.0 compilers as when PRE_3_0_COMPILER macro is not defined.

    See CORBA 3.1 idl files from http://www.omg.org/spec/CORBA/3.1/20030102/ that use 'import' and 'typeprefix' directives when PRE_3_0_COMPILER is not defined.

    Following CORBA 3.1 approach in http://www.omg.org/spec/CORBA/3.1/20030102/, the following is to be used:

    #ifdef PRE_3_0_COMPILER

    #include <PortableGroup.idl>

    #include <PortableInterceptor.idl>

    #include <TimeBase.idl>

    #include <orb.idl>

    #pragma prefix "omg.org"

    #else

    import ::CORBA;

    import ::PortableGroup;

    import ::PortableInterceptor;

    import ::TimeBase;

    typeprefix LWFT "omg.org"

    #endif // PRE_3_0_COMPILER

  • Reported: LWFT 1.0b2 — Mon, 16 May 2011 04:00 GMT
  • Disposition: Resolved — LWFT 1.0
  • Disposition Summary:

    See CORBA 3.1 idl files from http://www.omg.org/spec/CORBA/3.1/20030102/ that use 'import' and 'typeprefix' directives when PRE_3_0_COMPILER is not defined.Following CORBA 3.1 approach in http://www.omg.org/spec/CORBA/3.1/20030102/, use include directive and pragma prefix when PRE_3_0_COMPILER macro is defined and import and typeprefix when the macro is not defined

  • Updated: Fri, 6 Mar 2015 23:16 GMT