Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367025

Summary: Incorrect build options on sub-directories
Product: [Tools] CDT Reporter: Mohamed Ahmed <mohamed_ahmed>
Component: cdt-buildAssignee: cdt-build-inbox <cdt-build-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
proposed comparison fix none

Description Mohamed Ahmed CLA 2011-12-18 03:51:52 EST
Build Identifier: 

-create a new empty c project
-add a new source folder named "sub_dir_1" to the project
select "properties>C/C++ Build->Settings" for sub_dir_1. The displayed build options may be duplicated or invalid due to comparison problem in CDT code.

This problem happens with some specific project configurations.

Reproducible: Sometimes
Comment 1 Mohamed Ahmed CLA 2011-12-18 03:56:39 EST
Created attachment 208521 [details]
proposed comparison fix

proposed fix for the problem which cause incorrect comparison between the options IDs of the child and super holders.
As the child option ID is not exactly the same as the super one because it has an extra "." and numbers after it.