Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39142

Q_COMPILER_INITIALIZER_LISTS is not set for VisualStudio 2013

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • 5.3.0
    • Other
    • None
    • Windows 7, Visual C++ Compiler Nov 2013 CTP (CTP_Nov2013), Qt5.3

    Description

      My program stop compiling after upgrade from Qt 5.2 to Qt 5.3 (with Visual Studio 2013 with tool set: Visual C++ Compiler Nov 2013 CTP (CTP_Nov2013) )

      In Qt 5.2 Q_COMPILER_INITIALIZER_LISTS was properly set:

      if _MSC_VER >= 1800 is true for Visual Studio 2013

      in Qt 5.3 condition was changed to:

      1. if _MSC_FULL_VER >= 180030324 // VC 12 SP 2 RC
        which fails for me (mine FULL VER is 180021050).
        However if I change this condition, my program which uses std::initializer_list to initialize Qt objects works (as it did with Qt 5.2).

      Maybe this condition should be verified?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            frederik Frederik Gladhorn
            kicer MichaƂ Walenciak
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes