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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: