[orbitcpp-list] PATCH : make orbitcpp work with ISO C++ compiler
Status: Beta
Brought to you by:
philipd
From: <bb...@ya...> - 2002-01-20 03:17:44
|
Folks, Attached are some patches to make the skel output of orbitcpp legal ISO C++. See bug report 503269 on the orbitcpp page at sourceforge. I've tested the patches under gcc-3.0.2. All tests pass. The main change affects the production of skel code (pass_skels.cc) and minor alterations to orbitcpp_smartptr.hh to make copy constructors sane for out types. Other minor necessary changes are made to client.cc and server.cc under test/everything so they compile. All tests passed successfully. Can someone please verify that these changes are OK, and check them in. Thanks, Rich -- More info about what changed For out arguments, implied construction was used with non-const reference passing to servant methods. Implied construction creates temporary objects which can only be passed though const references. The patch constructs local objects in the skel code to allow the arguments to be passed through non-const reference. The exception is arrays of fixed length type which are passed as pointers so construction is neither necessary nor possible. Copy constructors in some of the smart pointer types needed to be changed for the same reason. client and server changes were just to make cout and endl visible in the local namespace. http://my.yahoo.com.au - My Yahoo! - It's My Yahoo! Get your own! |