HP OpenVMS Systems

ask the wizard
Content starts here

C++ and DCE IDL TYPNOLNKFUN error?

» close window

The Question is:

 
Upgrade from C++ 6.2 to 6.5 has broken DCE IDL compilation.
 
Example of error below.
 
There appears to be an incompatibility between the DCE supplied STUBBASE.H and
 C++ V6.5 that does not allow a clean build. Presumably this is a result of
 stricter type checking in 6.5?
 
Works:  C++ V6.2 / DCE V3.0
Broken: C++ V6.5 / DCE V3.0
 
Any suggestions? Compilation warnings, disabled or not, are not acceptable in
 our strictly controlled environment.
 
Thanks
 
Ian
 
 
$   idl terminal:xxxxxx.idl -out idlbld -trace all server none
 
byte_p_t IDL_ENTRY rpc_ss_mem_alloc   _DCE_PROTOTYPE_ ((
....................^
%CXX-W-TYPNOLNKFUN, use of a type with no linkage to declare a function
at line number 988 in file SYS$COMMON:[DCE$LIBRARY]STUBBASE.H;1
 


The Answer is :

 
  This appears to be a known and recently-reported problem, under problem
  report 70-23-238.  Please contact the support center for assistance in
  resolving this in your environment.
 

answer written or last revised on ( 17-DEC-2003 )

» close window