This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Can not change compiler options in duplicated configuration | ||
---|---|---|---|
Product: | cnd | Reporter: | mg2000 <mg2000> |
Component: | Project | Assignee: | Thomas Preisler <thp> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | apepin, dnikitin, sustaining, thp |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
mg2000
2008-06-05 10:31:19 UTC
Problem confirmed. If you close and reopen the project it works fine. *** Issue 133213 has been marked as a duplicate of this issue. *** Something is wrong in the master chain of CC/C configurations. Workaround is to close and re-open project. Probably won't fix for 6.5. Integrated into 'main-golden', will be available in build *200904250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7819a3e0340f User: Nick N. Krasilnikov <nnnnnk@netbeans.org> Log: fixing IZ#136535 : cannot set preprocessor definition The problem locates in MakeConfiguration copy(). auxObjectsMap contains ItemConfigurations and FolderConfigurations. This classes have links to configurations (lastConfiguration, cCompilerConfiguration, ccCompilerConfiguration). During a copy process we do not change this configurations. But this configurations contains links to old master configutarions. So the problem in coping of graph in unpredictable order. *** Issue 167245 has been marked as a duplicate of this issue. *** Unfortunately closing and re-opening the project does not help. The workaround is to *restart IDE*. IMO now it's high time to fix such issues and do not postpone them till end of a new development cycle when I believe we will have enough new issues to fix. Fixed. Integrated into 'main-golden', will be available in build *200906191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/492d05041bd2 User: Thomas Preisler <thp@netbeans.org> Log: #136535 Can not change compiler options in duplicated configuration verified in dev build. It should be a candidate for 6.7 patch1. The fix has been ported into the release61_fixes repository. http://hg.netbeans.org/release67_fixes/rev/0593123ba307 The fix has been ported into the release67_fixes repository, of course. The release61_fixes is a typo. verified in nb6.7.1rc |