Re: [Dev-C++] Mixed C and C++ Compilation?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Isaac E. W. <is...@wa...> - 2004-12-13 20:53:18
|
Thanks! Everything works now and is happy....and so am I. :) -------Original Message------- > From: "Alfred P. Reaud" <al...@ya...> > Subject: Re: [Dev-C++] Mixed C and C++ Compilation? > Sent: Dec 13 2004 14: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" _ 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? > > Alfred P. Reaud -------Original Message------- |