After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322490 - IDL-generated source is rejected by Intel C++ compiler
IDL-generated source is rejected by Intel C++ compiler
Status: VERIFIED FIXED
Product: orbit-cpp
Classification: Deprecated
Component: idl-compiler
1.3
Other Linux
: Normal normal
: ---
Assigned To: Bowie Owens
Bowie Owens
Depends on:
Blocks:
 
 
Reported: 2005-11-26 12:53 UTC by Vladimir Panov
Modified: 2006-01-08 00:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed fix (1.71 KB, patch)
2005-11-26 12:54 UTC, Vladimir Panov
none Details | Review

Description Vladimir Panov 2005-11-26 12:53:01 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.
Comment 1 Vladimir Panov 2005-11-26 12:54:46 UTC
Created attachment 55251 [details] [review]
Proposed fix
Comment 2 Bowie Owens 2006-01-04 22:31:14 UTC
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.