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 - Add option to use C++ compiler for C files as project attribute
Summary: Add option to use C++ compiler for C files as project attribute
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on: 145951
Blocks:
  Show dependency tree
 
Reported: 2008-09-09 17:58 UTC by glenn_nelson
Modified: 2010-06-01 23:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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