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.
If you change the default compiler set from the validation panel, the new value is not saved correctly and the setting may be lost when you restart the IDE. There are other scenarios where the default compiler set is not set correctly. If you set it from the global tool setup panel in Options|C/C++ everything is fine. Here is are some steps to reproduce: 1) Open global tool setup panel in Options|C/C++ and invalidate the make command and click OK 2) Open and try and build a project that uses the now invalid compiler set. The validation panel comes up. 3) Fix the error and also change default set to a different set. You may have to dup or add a new set. Click OK. 4) Exit and restart IDE. 5) Open global tool setup panel in Options|C/C++ and observe that default set hasn't changed.
I meant there are other scenarios where this causes problems. The cause is the same: default set is not preserved correctly if set from validation panel.
Fixed in trunk: changeset: 77373:4fcb2710bbab user: Thomas Preisler <thp@netbeans.org> date: Sat Apr 05 18:30:21 2008 -0700 summary: 132141 Setting default compiler set from validation panel is not preserved
changeset 4fcb2710bbab in main details: http://hg.netbeans.org/main?cmd=changeset;node=4fcb2710bbab description: 132141 Setting default compiler set from validation panel is not preserved
6.1 patch candidate.
verified in trunk 200804180004
I've transplanted the changeset http://hg.netbeans.org/main?cmd=changeset;node=4fcb2710bbab into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/1be733d2d7d2 changeset: 77506:1be733d2d7d2 user: Thomas Preisler <thp@netbeans.org> date: Sat Apr 05 18:30:21 2008 -0700 summary: 132141 Setting default compiler set from validation panel is not preserved