[Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

Walter Stefan Stefan.Walter at lisec.com
Thu Mar 3 06:45:32 CET 2016


Dear Thiago,

Thanks a lot.

There are more compilation issues on CentOS 6.7 x86_64, shall I list them or what do you recommend?

Regards,
Stefan

-----Original Message-----
From: Development [mailto:development-bounces+stefan.walter=lisec.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: Donnerstag, 3. März 2016 09:41
To: development at qt-project.org
Subject: Re: [Development] Qt 5.6.0-rc build issues on CentOS 6.7 x86_64 with g++

On quinta-feira, 3 de março de 2016 04:09:25 PST Walter Stefan wrote:
> qcanbusdevice.h:93: error: ISO C++ forbids initialization of member 
> âframeIdâ

Context:

    struct Filter
    {
        enum FormatFilter {
            MatchBaseFormat = 0x0001,
            MatchExtendedFormat = 0x0002,
            MatchBaseAndExtendedFormat = 0x0003,
        };
        Q_DECLARE_FLAGS(FormatFilters, FormatFilter)

        quint32 frameId = 0;
        quint32 frameIdMask = 0;
        QCanBusFrame::FrameType type = QCanBusFrame::InvalidFrame;
        FormatFilter format = MatchBaseAndExtendedFormat;
    };

This is using C++11 non-static member initialisation. That is not permitted in Qt 5.6 or 5.7[*]. b6ad22e5b43410cc01c9f59e1f4897cd270c635f should be reverted.

I've created https://codereview.qt-project.org/151163 for it. When it gets approved, don't wait for me to stage it.

[*] It might be permitted now, after we decided to drop VS2012 support, but we haven't yet re-done the list of allowed C++11 features in Qt 5.7. Until we do that, it's not allowed.

--
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




More information about the Development mailing list