[Development] cast ... increases required alignment of target type [-Werror=cast-align]
Thiago Macieira
thiago.macieira at intel.com
Thu Mar 15 00:49:08 CET 2012
On quarta-feira, 14 de março de 2012 23.55.06, Thiago Macieira wrote:
> On quinta-feira, 15 de março de 2012 08.32.43, Rohan McGovern wrote:
> > You did approve the change which enables it, though
> > 7e970eb58c71dc08981575c648a04d258dbf0684, I mean.
> > Do you think this test should now only be enabled on developer builds?
> > IMHO that goes against the intent that the real headers we ship in a
> > publicly-configured Qt are free of warnings.
>
> Well, since this is a test, no. The -Werror should stay.
>
> However, anywhere else than a test, -Werror should not be enabled.
Thanks to Rohan for removing the warning.
But maybe we should remove it completely because it's quite clear that our
headers are not cast-alignment-clean. Until QList is fixed, the warning should
not be enabled.
--
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/20120315/906b41c6/attachment.sig>
More information about the Development
mailing list