seb_kramm wrote:
> Hi everybody,
>
> I'm using devcpp 4.9.9.1 and I have a problem with the linker:
> I'm using an open-source library that can be used through C or C++.
>
> My own project is 'C' type, and I get now linker errors (I just
> changed some stuff in my code that needs now to be compiled/linked as
> CPP).
>
> So the question is:
> How do you force Devcpp to use 'CPP' instead of 'CC', for linking, in
> the generated makefile (through the project option dialog, I mean)
>
> Thank you. )
Hi,
Open project options, click Files tab, select the source file you want
to compile as C++ and simply check "Compile as C++". Then just rebuild
all and it's done.
Happy coding,
next_ghost
|