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

QtCreator becomes unbearable slow with number of compiler errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 12.0.1
    • C/C++/Obj-C++ Support
    • None

    Description

      With meta programming, especially with std::make_integer_sequence, it is fatally easy to produce a huge number of compiler errors. QtCreator tries to display them all, even if it's clear that nobody every will read each of 16'276 error messages.

      QtCreator becomes unbearable slow when this happens: Just moving the cursor takes seconds.


      Trying to edit the code simply brings the machine to almost a meltdown.

      Minutes later after QtCreator is done with processing the 16'276 messages, the program becomes usable again.

      QtCreator should simply stop processing and displaying compiler errors after having spent a reasonable amount on processing them. Let's say 500 messages, or 15 seconds are enough.

      For curriosity and entertainment I've attached the code causing the behavior.

      PropertyExperiment.tar.gz

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            hasselmm Mathias Hasselmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes