 | Hi all,
No bug or serious problem to report here. I'm starting to work with ACE (version 5.4.3) on Solaris 10 (currently a pre-release thereof) and I'm using the Sun Studio 9 compiler. ACE seems to compile fine in this environment.
My question concerns the various warnings that are generated by the compiler. I'm reasonably certain that they don't cause any run-time problems. They are mostly nit-picking syntax issues. But my question is - does anyone pay any attention to them out there? Is anyone looking at fixing the syntax so they go away?
If I find some spare time :) I'll give it a shot myself and pass along any changes, but I'm not sure I'm actually enough of a template programming expert to fix these warnings myself without breaking something.
I'm just curious to see if people are thinking about doing anything in this area.
Here are some of the warnings I see coming out of my code.... Note that the last one is coming from STLPort, not ACE, so ACE is certainly not the only one running into these issues... In fact, I think I get more warnings out of STLPort than I do ACE itself...
"/view/nbc-sol10/lib_src/SUN/ACE/ace/INET_Addr.h", line 345: Warning: ACE_INET_Addr::operator== hides the function ACE_Addr::operator==(const ACE_Addr&) const. "/view/nbc-sol10/lib_src/SUN/ACE/ace/INET_Addr.h", line 345: Warning: ACE_INET_Addr::operator!= hides the function ACE_Addr::operator!=(const ACE_Addr&) const. "/view/nbc-sol10/lib_src/SUN/ACE/ace/UNIX_Addr.h", line 102: Warning: ACE_UNIX_Addr::operator== hides the function ACE_Addr::operator==(const ACE_Addr&) const. "/view/nbc-sol10/lib_src/SUN/ACE/ace/UNIX_Addr.h", line 102: Warning: ACE_UNIX_Addr::operator!= hides the function ACE_Addr::operator!=(const ACE_Addr&) const. "/opt/SUNWspro/prod/include/CC/stlport4/stl/_fstream.h", line 566: Warning: std::ifstream::rdbuf hides the function std::ios::rdbuf (std::streambuf *).
thanks,
nbc
-- NAME: Neil B. Cohen (Cisco Systems Inc.) PHONE: 703-484-1316 DOMAIN: nbc@cisco.com ************************************************************* * Murphy's Philosophy: Smile - tomorrow will be worse... * * * * O'Tooles Commentary: Murphy was an optimist! * *************************************************************
|
|