• line 42: Error: The operation "CORBA::Any<<= CORBA::Object*const" is il

    From djryan7@pacbell.net@21:1/5 to All on Wed Dec 9 17:52:43 2015
    TAO VERSION: 2.3.3
    ACE VERSION: 6.3.3

    HOST MACHINE and OPERATING SYSTEM:
    Oracle Solaris 11.1.21.4.1


    COMPILER NAME AND VERSION (AND PATCHLEVEL):
    Solaris Studio 12.4
    CC: Sun C++ 5.13 SunOS_sparc 151845-09 2015/10/20

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
    specific file, simply state which one]:
    #include "ace/config-sunos5.11.h"

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
    use a link to a platform-specific file, simply state which one
    (unless this isn't used in this case, e.g., with Microsoft Visual
    C++)]:

    include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
    CFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    CCFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    SOFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    LDFLAGS += -L/opt/solarisstudio12.4/lib/v9 -L/usr/lib/sparcv9

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):
    N/A

    AREA/CLASS/EXAMPLE AFFECTED:
    PortableServer

    DOES THE PROBLEM AFFECT:
    COMPILATION?
    Fails to compile Servant_Base.cpp. Error in Any_Insert_Policy_T.h

    LINKING?
    N/A
    EXECUTION?
    N/A

    OTHER (please specify)?
    TAO and Application

    SYNOPSIS:
    line 42: Error: The operation "CORBA::Any<<= CORBA::Object*const" is illegal

    DESCRIPTION:
    Output of the compile line.

    CC -mt -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla -g -library=Cstd -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_MACROS=
    0 -D_POSIX_PTHREAD_SEMANTICS -I/rpool1/home/ttp/ttproot/ATCD/ACE -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I/rpool1/home/ttp/ttproot/ATCD/ACE -I../.. -DTAO_HAS_VALUETYPE_OUT_INDIRECTION -DTAO_PORTABLESERVER_BUILD_DLL -c -KPIC -o .shobj/Servant_
    Base.o Servant_Base.cpp
    "../../tao/Any_Insert_Policy_T.h", line 42: Error: The operation "CORBA::Any<<= CORBA::Object*const" is illegal.
    "../../tao/PortableServer/Object_SArgument_T.cpp", line 118: Where: While instantiating "static TAO::Any_Insert_Policy_Stream<CORBA::Object*>::any_insert(CORBA::Any*, CORBA::Object*const&)".
    "../../tao/PortableServer/Object_SArgument_T.cpp", line 118: Where: Instantiated from TAO::Ret_Object_SArgument_T<CORBA::Object*, TAO_Pseudo_Var_T<CORBA::Object>, Any_Insert_Policy_Stream>::interceptor_value(CORBA::Any*) const.
    Where: Instantiated from non-template code.
    1 Error(s) detected.
    gmake[1]: *** [.shobj/Servant_Base.o] Error 2
    gmake[1]: Leaving directory `/rpool1/home/ttp/ttproot/ATCD/TAO/tao/PortableServer'
    gmake: *** [PortableServer] Error 2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave Ryan@21:1/5 to Dave Ryan on Mon Jan 11 13:32:35 2016
    On Wednesday, December 9, 2015 at 5:52:46 PM UTC-8, Dave Ryan wrote:
    TAO VERSION: 2.3.3
    ACE VERSION: 6.3.3

    HOST MACHINE and OPERATING SYSTEM:
    Oracle Solaris 11.1.21.4.1


    COMPILER NAME AND VERSION (AND PATCHLEVEL):
    Solaris Studio 12.4
    CC: Sun C++ 5.13 SunOS_sparc 151845-09 2015/10/20

    THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
    specific file, simply state which one]:
    #include "ace/config-sunos5.11.h"

    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
    use a link to a platform-specific file, simply state which one
    (unless this isn't used in this case, e.g., with Microsoft Visual
    C++)]:

    include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
    CFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    CCFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    SOFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
    LDFLAGS += -L/opt/solarisstudio12.4/lib/v9 -L/usr/lib/sparcv9

    CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
    (used by MPC when you generate your own makefiles):
    N/A

    AREA/CLASS/EXAMPLE AFFECTED:
    PortableServer

    DOES THE PROBLEM AFFECT:
    COMPILATION?
    Fails to compile Servant_Base.cpp. Error in Any_Insert_Policy_T.h

    LINKING?
    N/A
    EXECUTION?
    N/A

    OTHER (please specify)?
    TAO and Application

    SYNOPSIS:
    line 42: Error: The operation "CORBA::Any<<= CORBA::Object*const" is illegal

    DESCRIPTION:
    Output of the compile line.

    CC -mt -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla -g -library=Cstd -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_
    MACROS=0 -D_POSIX_PTHREAD_SEMANTICS -I/rpool1/home/ttp/ttproot/ATCD/ACE -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I/rpool1/home/ttp/ttproot/ATCD/ACE -I../.. -DTAO_HAS_VALUETYPE_OUT_INDIRECTION -DTAO_PORTABLESERVER_BUILD_DLL -c -KPIC -o .shobj/
    Servant_Base.o Servant_Base.cpp
    "../../tao/Any_Insert_Policy_T.h", line 42: Error: The operation "CORBA::Any<<= CORBA::Object*const" is illegal.
    "../../tao/PortableServer/Object_SArgument_T.cpp", line 118: Where: While instantiating "static TAO::Any_Insert_Policy_Stream<CORBA::Object*>::any_insert(CORBA::Any*, CORBA::Object*const&)".
    "../../tao/PortableServer/Object_SArgument_T.cpp", line 118: Where: Instantiated from TAO::Ret_Object_SArgument_T<CORBA::Object*, TAO_Pseudo_Var_T<CORBA::Object>, Any_Insert_Policy_Stream>::interceptor_value(CORBA::Any*) const.
    Where: Instantiated from non-template code.
    1 Error(s) detected.
    gmake[1]: *** [.shobj/Servant_Base.o] Error 2
    gmake[1]: Leaving directory `/rpool1/home/ttp/ttproot/ATCD/TAO/tao/PortableServer'
    gmake: *** [PortableServer] Error 2

    This also fails to compile with Version 6.3.1 2.3.1 however the documentation says is compiles successfully.

    TAO VERSION: 2.3.1
    ACE VERSION: 6.3.1

       HOST MACHINE and OPERATING SYSTEM:
           Oracle Solaris 11.1.21.4.1


       COMPILER NAME AND VERSION (AND PATCHLEVEL):
    Solaris Studio 12.4
    CC: Sun C++ 5.13 SunOS_sparc 151845-09 2015/10/20

       THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
       specific file, simply state which one]:
    #include "ace/config-sunos5.11.h"

       THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
       use a link to a platform-specific file, simply state which one
       (unless this isn't used in this case, e.g., with Microsoft Visual
       C++)]:

        include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
        CFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
        CCFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
        SOFLAGS += -g -xchip=T5 -xcache=16/32/4/8:128/32/8/8:8192/64/16/128 -xarch=sparc4 -m64 -features=zla
        LDFLAGS += -L/opt/solarisstudio12.4/lib/v9 -L/usr/lib/sparcv9

       CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
       (used by MPC when you generate your own makefiles):
    N/A

       AREA/CLASS/EXAMPLE AFFECTED:
    PortableServer

       DOES THE PROBLEM AFFECT:
           COMPILATION?
    Fails to compile Servant_Base.cpp. Error in Any_Insert_Policy_T.h

           LINKING?
              N/A
           EXECUTION?
    N/A

           OTHER (please specify)?
    TAO and Application

       SYNOPSIS:
    line 44: Error: CORBA::Any::operator<<=(unsigned char) is not accessible

       DESCRIPTION:
    Output of the compile line.

    CC -mt -xchip=ultraT2 -xcache=8/16/4:4096/64/16 -xarch=sparcvis2 -m64 -features=zla  -g -library=Cstd -xchip=ultraT2 -xcache=8/16/4:4096/64/16 -xarch=sparcvis2 -m64 -features=zla   -DACE_HAS_KSTAT -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -D_POSIX_PTHREAD_
    SEMANTICS   -I/home/dave/ATCD/ACE -DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -I/home/dave/ATCD/ACE -I../.. -DTAO_HAS_VALUETYPE_OUT_INDIRECTION -DTAO_PORTABLESERVER_BUILD_DLL  -c -KPIC -o .shobj/PolicyS.o PolicyS.cpp
    "../../tao/Any_Insert_Policy_T.h", line 44: Error: CORBA::Any::operator<<=(unsigned char) is not accessible from static TAO::Any_Insert_Policy_Stream<unsigned>::any_insert(CORBA::Any*, const unsigned&).
    "../../tao/PortableServer/Basic_SArgument_T.cpp", line 105:     Where: While instantiating "static TAO::Any_Insert_Policy_Stream<unsigned>::any_insert(CORBA::Any*, const unsigned&)".
    "../../tao/PortableServer/Basic_SArgument_T.cpp", line 105:     Where: Instantiated from TAO::Ret_Basic_SArgument_T<unsigned, Any_Insert_Policy_Stream>::interceptor_value(CORBA::Any*) const.
        Where: Instantiated from non-template code.
    1 Error(s) detected.
    gmake[1]: *** [.shobj/PolicyS.o] Error 2
    gmake[1]: Leaving directory `/home/dave/ATCD/TAO/tao/PortableServer'
    gmake: *** [PortableServer] Error 2

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)