Bug 507236 - Manually added system include folders are not passed to build
Summary: Manually added system include folders are not passed to build
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 9.1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 11:01 EST by Felix Winterhalter CLA
Modified: 2020-09-04 15:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Winterhalter CLA 2016-11-08 11:01:18 EST
I was looking for a way to add system include folders manually to a project.

The normal add include dialog via the compiler settings does not allow for a choice whether the include folder is a normal or system include. Even though bug #388368 gives the impression that this should be possible.

I therefore tried to add the system include via the preprocessor paths. There I can select it to be a system include. It also shows up in the normal projects include list.

However on build it does not get passed to the compiler with the -isystem path but instead gets ignored and compilation errors ensue.

I think that either there should be a simple way to specify system includes while adding include directories or these include paths should be included in the compilation.