[Development] cast ... increases required alignment of target type [-Werror=cast-align]

Robin Burchell robin+qt at viroteck.net
Thu Mar 15 12:35:42 CET 2012


On Thu, Mar 15, 2012 at 12:20 PM, Atlant Schmidt
<aschmidt at dekaresearch.com> wrote:
> Thiago:
>
>> -Werror should never be enabled on non-developer builds.
>
>  Why not? Is the plan to ship code that contains
>  warnings?*

Because those non-developers aren't developing Qt, and may not have
the capability to fix warnings, if they arise. They just want to build
Qt and use it.

Developer builds are another matter entirely, and I don't think anyone
would honestly be against an attempt to enable -Werror, though it's a
big job.



More information about the Development mailing list