Bug #10905 2007-04-17 20:15
lallulli
No target is equivalent to all targets
In a project, if the user removes some file foo.cpp from all the targets, quits the application and opens the project again, then foo.bar will be included in all the targets.
The reason for this behavior is an ambiguity in the project file: a source file belonging to all the targets will have a "Unit" element in the XML tree, with no "Option" subelements. Exactly the same situation arises if the source file belongs to all the targets. Code::Blocks interprets a "Unit" element with no subelements as a source file belonging to all the targets.
- Category
- Application::WrongBehaviour
- Group
- Status
- Closed
- Close date
- 2007-04-18 08:04
- Assigned to
- biplab
History
biplab 2007-04-18 08:04
This bug is now fixed in HEAD.
Thank you for reporting it.