Bug 1668

Summary: PSDL generated code will not compile
Product: TAO Reporter: Nanbor Wang <bala>
Component: orbsvcsAssignee: pgontla
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 1.3.5   
Hardware: All   
OS: All   

Description Nanbor Wang 2003-12-08 12:46:17 CST
The generated code from PSDL will not compile since the interfaces in the ORB has changed 
considerably.  The bummer is that PSDL repeats the code in the IDL compiler without reusing the 
code, which is making its maintenance all th emore difficult. All the tests (ie. one test) will not built 
in our daily builds. Looks like the PSDL needs to be redone IMHO.
Comment 1 Nanbor Wang 2003-12-08 14:22:14 CST
The test in $TAO_ROOT/orbsvcs/examples/PSS will not compile since the generated code form the 
PSDL compiler is wrong. Please see 
----------------------------------------------------------------------------
[Details] naming_dataC.cpp: In function `void operator<<=(CORBA::Any&, const Data&)':
 [Details] naming_dataC.cpp:54: error: `_tao_replace' undeclared (first use this function)
 [Details] naming_dataC.cpp:54: error: (Each undeclared identifier is reported only once 
 [Details] naming_dataC.cpp: In function `void operator<<=(CORBA::Any&, Data*)':
 [Details] naming_dataC.cpp:74: error: `_tao_replace' undeclared (first use this function)
 [Details] naming_dataC.cpp: In function `Boolean operator>>=(const CORBA::Any&, const 
 [Details] naming_dataC.cpp:98: error: `any_owns_data' undeclared (first use this 
 [Details] naming_dataC.cpp:128: error: `_tao_replace' undeclared (first use this 
 [Details] make[1]: *** [.obj/naming_dataC.o] Error 1
 [Details] make: [all.tgt602] Error 2 (ignored)
-------------------------------------------------------------------------
Any build that used MPC till date will have this error. I have removed the MPC file so that this error 
doesn't show up and moreover, we have decided to not support PSDL for 1.4. If OCI can fix it for 
1.4, it would be great, but definitely not a showstopper