Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18398

FTBFS with GCC and LLVM 4.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • Qt Creator 4.4.0-beta1
    • C/C++/Obj-C++ Support
    • None

    Description

      When building Qt Creator with LLVM 4.0, the build fails with:

      g++: error: unrecognized command line option ‘-Wstring-conversion’; did you mean ‘-Wint-conversion’?
      

      (in clangrefactoringbackend and clangpchmanagerbackend/)

      $ llvm-config --cxxflags 
      -I/usr/include -fno-strict-aliasing -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG  -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
      

      Attachments

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

        Activity

          People

            bubke Marco Bubke
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes