knowledge-database (beta)

Current group: comp.soft-sys.ace

RE: [ace-users] Compiler warnings

RE: [ace-users] Compiler warnings  
Johnny Willemsen
From:Johnny Willemsen
Subject:RE: [ace-users] Compiler warnings
Date:21 Jan 2005 19:45:37 -0600
Hi Neil,

On http://www.dre.vanderbilt.edu/scoreboard/integrated.html you will find
two Solaris 10 builds, one with the Studio 9 compiler. Some issues have
already been fixed, some need to get fixed. If you want to help, look at
http://cvs.doc.wustl.edu how to get the cvs version and make fixes on that
version and supply them for the mailing list (make sure you use the
problem-report-form and explicitly state that you use the cvs version).

Regards,

Johnny Willemsen
Remedy IT
Leeghwaterstraat 25
2811 DT Reeuwijk
The Netherlands
www.theaceorb.nl / www.remedy.nl


> 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! *
> *************************************************************
>
   

Copyright © 2006 knowledge-database   -   All rights reserved