This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
`better conversion sequence' warning -W name?
- From: Alexy Khrabrov <alexy dot khrabrov at setup dot org>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 16 Aug 2002 19:35:42 -0400 (EDT)
- Subject: `better conversion sequence' warning -W name?
Greetings -- I'm getting many warnings like the following one,
when compiling CORBA C++ implementations:
MMS_EntryImpl.C: In method `MMS_EntryImpl::MMS_EntryImpl(PortableServer::POA *, const char *)':
MMS_EntryImpl.C:48: warning: choosing `PortableServer::ObjectId_var::operator PortableServer::ObjectId &()' over `PortableServer::ObjectId_var::operator const PortableServer::ObjectId &() const'
MMS_EntryImpl.C:48: warning: for conversion from `PortableServer::ObjectId_var' to `const PortableServer::ObjectId &'
MMS_EntryImpl.C:48: warning: because conversion sequence for the argument is bette
I've tried -Wno-conversion, but that's not it. Anybody knows whether that
warning has a name?
Cheers,
Alexy