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

qglobal.h produce compile time error with clang static analyzer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.1.0 , 5.1.1
    • Core: Other
    • None

    Description

      This lines in qlobal.h cause compile time error if use clang static analyzer(http://clang-analyzer.llvm.org/):

      #if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(_ELF) && !defined(PIC) && !defined(PIE_)

      1. error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
        "Compile your code with -fPIC or -fPIE."
        #endif

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              evgeniy.dushistov Evgeniy A. Dushistov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes