[Development] Qt 5: Warning using QImage as QtConcurrent::mapped return type

Thiago Macieira thiago.macieira at intel.com
Mon Oct 1 14:52:14 CEST 2012


On segunda-feira, 1 de outubro de 2012 09.37.06, Stephen Kelly wrote:
> On Sunday, September 30, 2012 17:13:14 Thiago Macieira wrote:
> > We followed clang's recommendation to static_cast to void*. Clang can't
> > complain that we're doing exactly what it suggested we do.
> 
> Could you say more about this recommendation?

What more is there to say? The output from the compiler without the cast to 
void* is in the commit message.

> Was the recommendation made in response to us asking for a warning work-
> around? If so, and we're now stuck with another warning, we're no better
> off.

It looks like the workaround that it suggested does not work. Or did not work. 
I hope it's just a matter of different clang versions.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121001/52135821/attachment.sig>


More information about the Development mailing list