From kde-bugs-dist Thu Jan 31 23:06:09 2013 From: John Date: Thu, 31 Jan 2013 23:06:09 +0000 To: kde-bugs-dist Subject: [kdevelop] [Bug 314218] New: Cannot deduce builtin include paths without g++ present Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=135967357717689 https://bugs.kde.org/show_bug.cgi?id=314218 Bug ID: 314218 Summary: Cannot deduce builtin include paths without g++ present Classification: Unclassified Product: kdevelop Version: 4.4.1 Platform: Fedora RPMs OS: Linux Status: UNCONFIRMED Severity: minor Priority: NOR Component: Language Support: CPP Assignee: kdevelop-bugs-null@kde.org Reporter: john5342@gmail.com When g++ is not present on the system, kdevelop fails to deduce the builtin include path for the C++ headers. Reproducible: Always Steps to Reproduce: 1. Setup system with an alternative compiler such as clang but do not install g++. 2. Create a C++ project (the default CMake C++ console application template shows this for instance) 3. Open any C++ file with a standard header included. Actual Results: All instances of standard headers are underlined in red because they cannot be found. If you hover over the underlined header you notice that any explicit include directories from the CMake files are listed and possibly /usr/include but the builtin include directories such as /usr/include/c++/4.7.2 are not. Actually building the project is successful though. Installing g++ and restarting causes the builtin include paths to be recognized and all standard headers are found. Expected Results: Headers are found by default. An easy workaround is of course to install g++ which in most Linux distributions is a simple task. -- You are receiving this mail because: You are watching all bug changes.