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

Generic project - there is no way to define c++11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.8.1
    • C/C++/Obj-C++ Support
    • None
    • Linux, Ubuntu 16.04 x64
    • Linux/X11

      I've try to open a project related to ROS system with QtCreator

      Since ROS uses a custom build tool the only way is to use generic project. So, after some difficulties I successfully opened and build my project. But I can't edit the source since clang doesn't accept the source and fill up all the code with errors and warnings. As I see the main problem is C+11 support. After long long searching in Internet I've found a way to configure c+11 support by adding the line #define __cplusplus 201103L to the .config file. But the problem persists and clang gives me errors like this:

      I see no way to avoid this problem.

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

            kosjar Nikolai Kosjar
            folibis ruslan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes