GNOME Bugzilla – Bug 322490
IDL-generated source is rejected by Intel C++ compiler
Last modified: 2006-01-08 00:40:11 UTC
Version details: 1.3.10 When compiling the generated skeleton, ICC 9.0 reports this error: error: return type is not identical to nor covariant with return type "PortableServer_Servant" of overridden virtual function function "PortableServer::ServantBase::_orbitcpp_get_c_servant" ::PortableServer_Servant *_orbitcpp_get_c_servant () I will attach a patch against 1.3.10 which I have tested both for compilation and execution and both with GCC 3.3 and ICC 9.0.
Created attachment 55251 [details] [review] Proposed fix
I've applied the patch in full. Please try CVS head with the Intel compiler. If there are more problems, either open a new bug or reopen this one. Thanks for the patch.