Hello Everybody.
Currently I try to compile the sources of the following project :
http://www.mcternan.me.uk/mscgen/Since this project is using the bison-tool to generate grammar-files I already installed bison and flex as well as the libintl-dlls. Thus the grammar-files will be generated as desired.
Since the project it self is written in c and not in c++ they will be compiled with the c-compiler (MinGw tdm-gcc-4.8.1-3). But for the auto generated files Code::Blocks forces to use the c++ compiler and the adjustment that normally allows to change this is not accessible. Even all files will be compiled the linker is not able to find all symbols since the c++ compiler is using name-mangling and the c-compiler not.
I think the long-lasting strategy should be to transfer the project to cpp but for the beginning I wish to keep it as provided since a lot of changes have to be done to make the sources acceptable for the c++ compiler (own boolean-type, forbidden pointer-conversion, ...) . Thus my problem is to ensure that all files will be compiled with the c-compiler.
How can I adjust that attachments like .cc .y .l will be compiled with CC and not with CPP ?
Best regards,
Eckard.