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

Clang: any use of "throw" is flagged as an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0-beta1
    • C/C++/Obj-C++ Support
    • None
    • Creator 3.6.0-beta1 on OS X 10.11.1

      I have a generic C++ project, created with New File or Project - Import Project -> Import Existing Project.

      When using the clang code model, any use of throw is flagged as an error as

      error: cannot use 'throw' with exceptions disabled

      A related problem is that in this version Creator shows lots and lots of warnings (such as narrowing conversion) which I would rather disable. There seems to be no way to disable it.

      I could not find a way to specify compiler flags with a generic project.

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

            kosjar Nikolai Kosjar
            szhorvat Szabolcs Horvát
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes