[Development] Variadic Macros in Qt? - Re: QLog ( Work on qDebug and friends)

Thiago Macieira thiago.macieira at intel.com
Wed Feb 15 09:12:57 CET 2012


On quarta-feira, 15 de fevereiro de 2012 11.00.35, Lincoln Ramsay wrote:
> I'm not in a position to say "we can use variadic macros in QtCore" 
> which is why I didn't actually try to do that.

You can use it if you add the necessary #ifdef for the compilers that support 
it or for C++11 support (Q_COMPILER_VARIADIC_MACROS) and an #else path for 
when it is not 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/20120215/647c9435/attachment.sig>


More information about the Development mailing list