This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: :? ??
- From: Michael Matz <matzmich at cs dot tu-berlin dot de>
- To: Allan Sandfeld Jensen <snowwolf at one2one-networks dot com>
- Cc: Joe Buck <Joe dot Buck at synopsys dot com>, <gcc at gcc dot gnu dot org>
- Date: Wed, 20 Mar 2002 15:09:21 +0100 (MET)
- Subject: Re: :? ??
Hi,
On Tue, 19 Mar 2002, Allan Sandfeld Jensen wrote:
> > > > Does QString define an operator const char*() ?
> > >
> > > Under certain circumstances. In "strict" mode it doesn't.
> It does unless QT_NO_ASCII_CAST flag is set, in fact no part of kde would
> compile with this flag since at least the implicit constructor from const
> char* is too widely used.
Sorry this is wrong. Although we are getting OT here, I want to stop
misinformation. We compile nearly everything of KDE with
-DQT_NO_ASCII_CAST exactly because we do not want implicit conversion
from/to const char*, because those are i18n killers. Check your
configures.
> Sun's compiler might be a little too touchy about type-casting, but in this
> case it is right.
No it isn't.
Ciao,
Michael.