Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367025 - Incorrect build options on sub-directories
Summary: Incorrect build options on sub-directories
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.1.0   Edit
Hardware: PC Windows 7
: 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-12-18 03:51 EST by Mohamed Ahmed CLA
Modified: 2020-09-04 15:17 EDT (History)
1 user (show)

See Also:


Attachments
proposed comparison fix (1.24 KB, patch)
2011-12-18 03:56 EST, Mohamed Ahmed CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.