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

qglobal.h produce compile time error with clang static analyzer

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes