 | Hi Folks,
>> > 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.
Right - I think it's complaining that we aren't using virtual methods for operator!= and operator==. I'm not sure how to shut up the compiler, other than to define the operators as virtual. Lothar, please let us know if this works for you.
Thanks,
Doug
-- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engineering and Computer Science FAX: (615) 343-7440 Vanderbilt University WEB: www.cs.wustl.edu/~schmidt/ Nashville, TN 37203 NET: d.schmidt@vanderbilt.edu
|
|