:? ??
Michael Matz
matzmich@cs.tu-berlin.de
Wed Mar 20 06:12:00 GMT 2002
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.
More information about the Gcc
mailing list