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

Build failure if configured with -no-rtti

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.3.0 RC1
    • 4.8.4
    • Core: Other
    • None
    • Windows 8, Visual Studio 2012 with SP1.

    Description

      4.8 git master.

      configure build like:
      configure.exe -debug -static -platform win32-msvc2012 -fast -no-vcproj -no-rtti ...

      will get error:
      qisciicodec.cpp
      C:\VS2012\VC\INCLUDE\xkeycheck.h(187) : warning C4005: 'dynamic_cast' : macro redefinition
      x:\qt\qt4\4.8\include\qtcore\../../src/corelib/global/qglobal.h(2501) : see previous definition of 'dynamic_cast'
      C:\VS2012\VC\INCLUDE\xkeycheck.h(242) : fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            cg31 Gang Chen
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes