[Development] Removing the use of 'register'
Stephen Kelly
stephen.kelly at kdab.com
Sat Jun 15 11:31:22 CEST 2013
On Friday, June 14, 2013 07:48:18 Thiago Macieira wrote:
> On sexta-feira, 14 de junho de 2013 11.44.00, Stephen Kelly wrote:
> > This will be quite noisy for Qt and for users of Qt. Should we remove the
> > use of register from Qt? Or replace it with Q_REGISTER which is empty for
> > c++11?
>
> Either remove or disable the warning. A macro makes no sense for this -- too
> ugly.
The warning can only be disabled by adding -Wno-deprecated. I think that has
to change though:
http://llvm.org/bugs/show_bug.cgi?id=16336
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130615/8775cac4/attachment.sig>
More information about the Development
mailing list