Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341389 - C/C++ General > Paths & Symbols > Include Files > Add... not working
Summary: C/C++ General > Paths & Symbols > Include Files > Add... not working
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 7.0.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 12:00 EDT by Jonathan Watt CLA
Modified: 2020-09-04 15:25 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 Jonathan Watt CLA 2011-03-30 12:00:28 EDT
I believe that adding a header file using |C/C++ General > Paths & Symbols > Include Files > Add...| should create a preinclude file that will be included for all source files. This does not seem to happen though. I added the header with both "Add to all configurations" and "Add to all languages" ticked, and I tried both using a file system path and using a workspace path. Neither worked.

When I say "not working", I mean that the ifdef'ed code in the source files that depends on the defines in the preinclude file remains greyed out in the editor. Also I used "Create Parser Log File" from the "Index" item in the context menu for one of the source files in Project Explorer, and the section "Preincluded files (option -include):" in the log file is empty.