[tao-bugs] PortableServer: Servant_Base.cpp fails to compile on Solaris
Bob Johnson
bob.d.johnson at oracle.com
Mon Apr 11 14:50:48 CDT 2016
TAO VERSION: 2.3.3
ACE VERSION: 6.3.3
HOST MACHINE and OPERATING SYSTEM:
SunOS 5.11 11.3 sun4v sparc
TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
same as HOST
COMPILER NAME AND VERSION (AND PATCHLEVEL):
Oracle Solaris Studio 12.4
CC: Sun C++ 5.13 SunOS_sparc 151845-12 2016/01/26
THE $ACE_ROOT/ace/config.h FILE
#include <ace/config-sunos5.11.h>
THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
ssl=1
exceptions=1
buildbits=64
debug=0
optimize=1
stlport=1
INSTALL_PREFIX = $(HOME)/3rdparty
include $(ACE_ROOT)/include/makeinclude/platform_sunos5_sunc++.GNU
CCFLAGS += -features=zla
CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
ssl=1
ace_qtreactor = 0
ace_xtreactor = 0
ace_tkreactor = 0
ace_flreactor = 0
ace_foxreactor = 0
tao_qtresource = 0
tao_xtresource = 0
tao_tkresource = 0
tao_flresource = 0
tao_foxresource = 0
gl = 0
x11 = 0
debug=0
optimize=1
AREA/CLASS/EXAMPLE AFFECTED:
TAO/tao/PortableServer/GNUmakefile.PortableServer
Servant_Base.cpp
DOES THE PROBLEM AFFECT:
COMPILATION?
yes
LINKING?
no
EXECUTION?
N/A
OTHER (please specify)?
N/A
SYNOPSIS:
$TAO_ROOT/tao/PortableServer/Servant_Base.cpp fails to compile.
DESCRIPTION:
Make fails with the following output:
CC -mt -m64 -xO4 -features=zla -library=stlport4 -DACE_HAS_KSTAT
-DACE_HAS_CUSTOM_EXPORT_MACROS=0 -D_POSIX_PTHREAD_SEMANTICS -DNDEBUG
-I/scratch/build_2300/internal/3rdparty/ACE_wrappers -DACE_NDEBUG
-DACE_HAS_SCTP -DACE_HAS_LKSCTP -D__ACE_INLINE__ -DACE_HAS_STLPORT
-I../../.. -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.
make[1]: *** [.shobj/Servant_Base.o] Error 2
REPEAT BY:
cd $TAO_ROOT/tao ; make
SAMPLE FIX/WORKAROUND:
N/A
More information about the tao-bugs
mailing list