 | Hi
> 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?
Yes, we generally try to fix all the warnings. I know Johnny pointed you to our daily builds where we keep track of our compilation status.
> 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.
Sure, please pass along and we will be more than happy to integrate them. PLease use the main trunk. Please see
http://cvs.doc.wustl.edu/anoncvs.html
on how to use the anoncvs repository.
> 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.
The above seems goofy. Please note that we don't see it in our builds. Please let us know the configuration that you are using and probably that coudl help us narrow down the problem.
Thanks Bala
> "/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! * > ************************************************************* >
|
|