https://bugs.kde.org/show_bug.cgi?id=385439

            Bug ID: 385439
           Summary: "Failed to parse translation unit: " errors for
                    inexistant files
           Product: kdevelop
           Version: git master
          Platform: Compiled Sources
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language Support: CPP (Clang-based)
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Re-opening a session after reverting a WIP patch that adds a number of files
that had open when last quitting that session:

kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1
kdevelop.languages.clang:   (start KDevelop with `KDEV_CLANG_DISPLAY_DIAGS=1
kdevelop` to see more diagnostics)
kdevelop.languages.clang: Failed to parse translation unit:
"/Users/bertin/work/src/new/KDE/KF5/kk-git/kdevplatform/project/projectwatcher.h"
kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1
kdevelop.languages.clang:   (start KDevelop with `KDEV_CLANG_DISPLAY_DIAGS=1
kdevelop` to see more diagnostics)
kdevelop.languages.clang: Failed to parse translation unit:
"/Users/bertin/work/src/new/KDE/KF5/kk-git/kdevplatform/project/tests/abstractfilemanagerpluginimportbenchmark.cpp"
kdevelop.languages.clang: clang_parseTranslationUnit2 return with error code 1
kdevelop.languages.clang:   (start KDevelop with `KDEV_CLANG_DISPLAY_DIAGS=1
kdevelop` to see more diagnostics)
kdevelop.languages.clang: Failed to parse translation unit:
"/Users/bertin/work/src/new/KDE/KF5/kk-git/kdevplatform/project/projectwatcher.cpp"


Methinks the plugin could avoid adding inexistant (or empty) files to a
translation unit, no?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to