Hi ,
I have a mix-up of C and C++ files . I initially developed in Codewarrior environment for Coldfire. Now, I am migrating to Cygwin environment for development. I find that in Codewarrior there is one compiler option 'Force C++ compilation' that makes all the C files also to act like C++ files . (something like that .) So, it is possible to mix-up code / routine-calls between C and C++ in codewarrior and the development was easy.
I would like to know an equivalent 'Force C++ compilation' option in Cygwin (M68K cross-Tool). I believe that there must be a simple small flag that will do that in Cygwin environment M68K cross- tool package so that it would ease the development activity.
Currently, i am doing some manual coding of the following to mix-up usage of the C and C++ code-files and i believe that there is surely another simple way in cygwin (M68K cross-tool package).
#ifdef __cplusplus extern "C" { #endif
it's usually partnered at the other end of the file by
#ifdef __cplusplus } #endif
Is there any quivalent simple flag option in cygwin ?
Thx in advans, Karthik Balaguru