[Development] Removing the use of 'register'

Thorbjørn Martsum tmartsum at gmail.com
Fri Jun 14 22:10:36 CEST 2013


The only macro that could make sense seems to be
#define register

I say +1 for removal since 'register' is just noise, and if any compiler
actually still uses this flag it will typically just cause less optimized
code.

On Fri, Jun 14, 2013 at 4:48 PM, Thiago Macieira
<thiago.macieira at intel.com>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.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130614/88af7a93/attachment.html>


More information about the Development mailing list