Bug 256939 - Standard includes
Summary: Standard includes
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 5.0.1   Edit
Hardware: Macintosh 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: 2008-11-28 14:58 EST by jief CLA
Modified: 2020-09-04 15:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jief CLA 2008-11-28 14:58:42 EST
Build ID: M20080911-1700

Steps To Reproduce:
1.Create new C project
2.Check -nostdinc in settings for GCC C compiler
3.Built-in includes are still there


More information:
Regards.
PS : I tried to search if it has not been reported already, but I'm not very good in BugZilla :)
Comment 1 Markus Schorn CLA 2008-12-04 05:45:58 EST
are you using managed build?
Comment 2 jief CLA 2008-12-04 07:19:23 EST
(In reply to comment #1)
> are you using managed build?
> 

Yes, I left all by default.
I checked : in discovery options I have "Managed Build System - per project scanner info profile (GCCManagedMakePerProjectProfileC).

If it can help :
I tried to change the extension id GCCManagedMakePerProjectProfileC in the plugin org.eclipse.cdt.managedbuildercore
I add -nostdinc in scannerInfoProvider/run/arguments of this extension. It works for newly created project. For project created before, stdinc remain listed.

So, maybe there is 2 things :
- options selected in Preferences/C/C++Build/Settings should be used when invoking the scanner configuration discovery command
- there should have a way to reset path discovered (or automatic ? when eclipse launch ?)

Regards