Bug 1668 - PSDL generated code will not compile
Summary: PSDL generated code will not compile
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: orbsvcs (show other bugs)
Version: 1.3.5
Hardware: All All
: P3 normal
Assignee: pgontla
URL:
Depends on:
Blocks:
 
Reported: 2003-12-08 12:46 CST by Nanbor Wang
Modified: 2003-12-08 14:22 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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