Convert project from C to C++ [message #485306] |
Fri, 11 September 2009 09:55 |
Eclipse User |
|
|
|
Originally posted by: augustbering.yahoo.com
Anybody knows if it's possible to convert a C project to C++? Currently I
don't see the Cygwin C++ Compiler in my "C/C++ Build->Settings" pane.
|
|
|
Re: Convert project from C to C++ [message #485820 is a reply to message #485306] |
Tue, 15 September 2009 07:59 |
Eclipse User |
|
|
|
Originally posted by: billinares.bluewin.ch
What do you mean convert to C++? A C++ compiler should be able to compile
c code with no problems (actually, you might catch some problems that the
c-compiler let through).
|
|
|
Re: Convert project from C to C++ [message #485854 is a reply to message #485820] |
Tue, 15 September 2009 10:34 |
Eclipse User |
|
|
|
Originally posted by: augustbering.yahoo.com
Yes, but I created a C project with CDT and now this project won't build
c++ files, because there is no c++ compiler tool in the tool settings...
Lots of the files in my project have individual settings so I'd like to
not have to recreate the project from scratch as a C project.
|
|
|
Re: Convert project from C to C++ [message #485866 is a reply to message #485854] |
Tue, 15 September 2009 11:04 |
Eclipse User |
|
|
|
Originally posted by: billinares.bluewin.ch
Correct me if I'm wrong, but I don't think Eclipse makes any difference
between C and C++ projects. In any case you need a C++ compiler (maybe you
forgot to install it along with the C compiler). Then instruct your
builder to use it to compile your C-code. As long as you are not mixing C
and C++ code that should do it.
|
|
|
|
Re: Convert project from C to C++ [message #486101 is a reply to message #485866] |
Wed, 16 September 2009 11:10 |
Eclipse User |
|
|
|
Originally posted by: augustbering.yahoo.com
Unfortunately it does... Just create a C and C++ project and compare the
tool settings you get. This should probably be an easy fix for anybody
working on CDT, but I guess I'll just have to recreate the project and
take the road of pain.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04461 seconds