[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kdevelop] [Bug 314218] New: Cannot deduce builtin include paths without g++ present
From:       John <john5342 () gmail ! com>
Date:       2013-01-31 23:06:09
Message-ID: bug-314218-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic