[Development] QNX and Dinkumware support for constexpr and nullptr

Rafael Roquetto rafael.roquetto at kdab.com
Wed Oct 28 16:31:18 CET 2015


On Wed, Oct 28, 2015 at 11:52:20AM +0000, Sergio Martins wrote:
> On Tuesday, October 27, 2015 04:40:07 PM Thiago Macieira wrote:
> 
> > 
> > From qcompilerdetection.h:
> > 
> > #  if defined(_HAS_DINKUM_CLIB) && !defined(_HAS_NULLPTR_T)
> > #    undef Q_COMPILER_NULLPTR
> > #  endif
> 
> By the way, _HAS_DINKUM_CLIB is about the C library, not C++.
> Should be replaced with: !_GLIBCXX_ , it's currently working out of luck.

As a matter of fact, you can use defined(_HAS_CPP0X)

> 
> I've opened QTBUG-49083, in case someone is interested in fixing this.

I will take it.

- Rafael
-- 
Rafael Roquetto | rafael.roquetto at kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4861 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20151028/3bc12445/attachment.bin>


More information about the Development mailing list