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

qtbase: build fails with -fno-rtti

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.2
    • Core: Other
    • None
    • Linux/Wayland

    Description

      I'm not sure how it now but some time ago was kind of rule to not use rtti ans exceptions.

      Looks lik eqt base build fails with fno-rtti

      io/qprocess_unix.cpp: In member function 'void QProcessPrivate::startProcess()':
      io/qprocess_unix.cpp:462:17: error: cannot use 'typeid' with '-fno-rtti'
        462 |     if (typeid(*q) != typeid(QProcess))
            |                 ^
      io/qprocess_unix.cpp:462:38: error: cannot use 'typeid' with '-fno-rtti'
        462 |     if (typeid(*q) != typeid(QProcess))
            |                                      ^
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            kloczek Tomasz Kloczko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes