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.

Bug 146680

Summary: Add option to use C++ compiler for C files as project attribute
Product: cnd Reporter: glenn_nelson <glenn_nelson>
Component: ProjectAssignee: Thomas Preisler <thp>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 145951    
Bug Blocks:    

Description glenn_nelson 2008-09-09 17:58:29 UTC
Need to compile *.c files with g++. Project settings have the compiler grayed out and stuck on gcc. There is no clean 
way to switch to g++, but I have workarounds. See issue #146253 (http://www.netbeans.org/issues/show_bug.cgi?id=146253
).
The last suggested workaround is to setup a new tool collection. The problem with this is that it modifies 
configuration.xml and adds the name of the new tool collection to <compilerSet>. What happens if someone else uses the 
project and they don't have the same tool collection? Will the project load and build?
Comment 1 Alexey Vladykin 2008-09-09 20:34:12 UTC
Well, I'd say that solution suggested in issue #146253 is a clean one. Its only disadvantage is the requirement to edit
each file's properties individually. Implementing ability to apply properties to multiple files at a time should resolve
this issue. See IZ #145951.
Comment 2 Thomas Preisler 2010-06-01 23:40:20 UTC
I agree.