Force C compilation
Force C compilation
- Subject: Force C compilation
- From: Doug McLean <email@hidden>
- Date: Fri, 6 Oct 2006 12:04:22 -0600
Hello. I'm new to XCode and porting a CW project.
This project contains both C and C++ source files, but I needed all
to be compiled as C++. Therefore the "Compile Sources As" setting was
imported as "C++".
Now I need one file to be compiled as C. (It contains functions in
assembly with non-mangled C names.) Is there a way to flag that one
file for C compilation, perhaps with "Additional Compiler Flags"?
Changing the filetype to C (in Get Info) does not do it.
Thanks for any advice. I think I can unset the global C++ setting and
then change the type manually for each file, but would like to find a
clearer way.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden