This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]