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

MSVC 2010, warning C4275

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.5.0
    • 5.5.0 Alpha
    • Build System
    • None
    • Windows 7 x64, MSVC 2010 SP1
    • f624220b100f338720f00c1e695ab9a277c4b34d (qtbase/5.5, 28.3.2015, 5.5.0)

    Description

      Building 5.5.0-alpha with MSVC2010 generates a lot of C4275 warnings :

      C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(157) : warning C4275: non dll-interface class 'stdext::exception' used as base for dll-interface class 'std::bad_cast'
              C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\exception(218) : see declaration of 'stdext::exception'
              C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\typeinfo(156) : see declaration of 'std::bad_cast'
      

      It seems that the previous fix (see QTBUG-39126) got wiped in the mkspec rewrite for MSVC platforms.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-45085
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              remi.faitout Remi Faitout
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes