Re: [Dev-C++] Mixed C and C++ Compilation?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alfred P. R. <al...@ya...> - 2004-12-13 20:42:58
|
HI Issac, You should add the SQLite files to the project, then go into the Project Options -> Compiler window and select compile as C for the SQLite sources. You have to do that to each file individually. "Isaac E. Wagner" <is...@wa...> wrote: I've got a C++ project that requires a public domain C library (SQLite). I am trying to compile the library directly into the project, instead of linking to the library. I've tried compiling SQLite as a C++ project, but it generates tons of errors, so it really does need to be C compiled. Anyway, is there a way to add those files to my project, but have the C compiler invoked on them, and the C++ compiler invoked on the rest? <snip> Alfred P. Reaud |